Skip to content
Snippets Groups Projects
Commit 49055faf authored by Roman Karwacik's avatar Roman Karwacik
Browse files

Merge branch 'debug-moodle-auth-no-error' into 'master'

Format strings not supported in 3.5.3

See merge request !34
parents 8cc08c6c 62d9d655
No related branches found
No related tags found
1 merge request!34Format strings not supported in 3.5.3
......@@ -72,7 +72,7 @@ def finish_oauth():
for course in data['Data']:
session['moodle_courses'].append(str(course['id']))
else:
notify_admins('endpoint_exception', traceback=f"finish_oauth failed while getting moodle courses, data={str(data)}")
notify_admins('endpoint_exception', traceback="finish_oauth failed while getting moodle courses, data={}".format(str(data)))
raise
del session['oauthscope']
oauthget('token', refresh_token=token['refresh_token'], grant_type='invalidate')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment