This commit is contained in:
FA Tulloh 2021-08-11 05:58:49 +08:00 committed by GitHub
parent 2bfdba8938
commit acf45cd4ae
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -730,7 +730,7 @@ class GoogleDriveHelper:
file_id = self.getIdFromUrl(link)
except (KeyError,IndexError):
msg = "Google Drive ID could not be found in the provided link"
return msg, "", ""
return msg, "", "", ""
LOGGER.info(f"File ID: {file_id}")
try:
drive_file = self.__service.files().get(fileId=file_id, fields="id, name, mimeType, size",