|
@@ -21,7 +21,9 @@ def save_sheet(df,filename,tabname,startpos='A1'):
|
|
|
scope = ['https://spreadsheets.google.com/feeds',
|
|
|
'https://www.googleapis.com/auth/drive']
|
|
|
|
|
|
- credentials = ServiceAccountCredentials.from_json_keyfile_name('c:\\keys\\spread2.json', scope)
|
|
|
+# credentials = ServiceAccountCredentials.from_json_keyfile_name('c:\\keys\\spread2.json', scope)
|
|
|
+ credentials = ServiceAccountCredentials.from_json_keyfile_name('/var/keys/spread2.json', scope)
|
|
|
+
|
|
|
gc = gspread.authorize(credentials)
|
|
|
spread = Spread(filename,creds=credentials)
|
|
|
|