X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gsheets-authenticate.py;h=ca0d0fa10d7182a774e45331fa6a058fb85a4234;hb=1ef1c6f234ba7fb1f88900a664369efb1fc61efb;hp=2d0a60984ab528c58e571b7fa494e39fa8860c47;hpb=879b8581e5abc91c87ef8a537dac158f3ac04cf4;p=turbot diff --git a/gsheets-authenticate.py b/gsheets-authenticate.py index 2d0a609..ca0d0fa 100755 --- a/gsheets-authenticate.py +++ b/gsheets-authenticate.py @@ -9,7 +9,10 @@ from google.auth.transport.requests import Request TOKEN_FILE = ".gsheets-pickle.base64" # If modifying these scopes, delete the token file -SCOPES = ['https://www.googleapis.com/auth/spreadsheets'] +SCOPES = [ + 'https://www.googleapis.com/auth/spreadsheets', + 'https://www.googleapis.com/auth/drive' +] def main(): """Allows user to authenticate for the Sheets API.