mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 07:18:28 +01:00
gdrive: add workaround for #4507
Temporary workaround. Proper solution will be introduced in https://github.com/iterative/PyDrive2/pull/48
This commit is contained in:
+1
-1
@@ -382,7 +382,7 @@ class GDriveTree(BaseTree):
|
||||
gdrive_file = self._drive.CreateFile(param)
|
||||
|
||||
gdrive_file.FetchMetadata(fields="fileSize")
|
||||
size = gdrive_file["fileSize"]
|
||||
size = int(gdrive_file["fileSize"])
|
||||
|
||||
with Tqdm(
|
||||
desc=progress_desc,
|
||||
|
||||
Reference in New Issue
Block a user