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:
2020-05-24 13:26:41 +02:00
parent 98a78f2102
commit c9cbb53eea
42 changed files with 51 additions and 729 deletions

View File

@ -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)