Minor
This commit is contained in:
parent
2bfdba8938
commit
acf45cd4ae
|
|
@ -730,7 +730,7 @@ class GoogleDriveHelper:
|
||||||
file_id = self.getIdFromUrl(link)
|
file_id = self.getIdFromUrl(link)
|
||||||
except (KeyError,IndexError):
|
except (KeyError,IndexError):
|
||||||
msg = "Google Drive ID could not be found in the provided link"
|
msg = "Google Drive ID could not be found in the provided link"
|
||||||
return msg, "", ""
|
return msg, "", "", ""
|
||||||
LOGGER.info(f"File ID: {file_id}")
|
LOGGER.info(f"File ID: {file_id}")
|
||||||
try:
|
try:
|
||||||
drive_file = self.__service.files().get(fileId=file_id, fields="id, name, mimeType, size",
|
drive_file = self.__service.files().get(fileId=file_id, fields="id, name, mimeType, size",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue