Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Fixed crash when attempting to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBerdik committed Feb 22, 2020
1 parent bf017c3 commit ef29b50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions InfiniDrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def print_ascii_logo():

# Create Google Drive folder
driveConnect, dirId = driveAPI.begin_storage(file_name)
fileSize = -1
if urlUpload:
try:
fileSize = int(urlUploadHandle.headers.get('content-length'))
Expand Down

0 comments on commit ef29b50

Please sign in to comment.