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

Commit

Permalink
Removed unused variable from driveAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBerdik committed Jul 1, 2019
1 parent d3218db commit bbb3593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driveAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def store_doc(service, folderId, file_name, file_path):
'parents': [folderId]
}
media = MediaIoBaseUpload(file_path, mimetype='application/vnd.openxmlformats-officedocument.wordprocessingml.document')
file = service.files().create(body=file_metadata,
service.files().create(body=file_metadata,
media_body=media,
fields = 'id').execute()

Expand Down

0 comments on commit bbb3593

Please sign in to comment.