Skip to content
This repository was archived by the owner on Nov 12, 2019. It is now read-only.

Commit 266d080

Browse files
committed
Update Google Drive API Scope - Resolves #90 in original project
1 parent c9407aa commit 266d080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/google_spreadsheet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
def login_open_sheet(oauth_key_file, spreadsheet):
8282
"""Connect to Google Docs spreadsheet and return the first worksheet."""
8383
try:
84-
scope = ['https://spreadsheets.google.com/feeds']
84+
scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive']
8585
credentials = ServiceAccountCredentials.from_json_keyfile_name(oauth_key_file, scope)
8686
gc = gspread.authorize(credentials)
8787
worksheet = gc.open(spreadsheet).sheet1

0 commit comments

Comments
 (0)