routing updated to be more variable and on demand
- calendar json file now generated on demand at download request - device fingerprint route now added
This commit is contained in:
@ -145,6 +145,8 @@ def updateCalendars():
|
||||
# a = flask.session['credentials']
|
||||
# print(a, flush=True)
|
||||
# print(current_user.getGoogleCredentials(), flush=True)
|
||||
if current_user.getGoogleCredentials() == None:
|
||||
return
|
||||
|
||||
credentials = google.oauth2.credentials.Credentials(**current_user.getGoogleCredentials())
|
||||
calendars = caltojson.getCalendarList(credentials)
|
||||
|
Reference in New Issue
Block a user