Skip to content

Commit 226322d

Browse files
authored
gdrive: add workaround for #4507
Temporary workaround. Proper solution will be introduced in iterative/PyDrive2#48
1 parent e1f4396 commit 226322d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvc/tree/gdrive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def _gdrive_download_file(
382382
gdrive_file = self._drive.CreateFile(param)
383383

384384
gdrive_file.FetchMetadata(fields="fileSize")
385-
size = gdrive_file["fileSize"]
385+
size = int(gdrive_file["fileSize"])
386386

387387
with Tqdm(
388388
desc=progress_desc,

0 commit comments

Comments
 (0)