Unverified Commit 62d9d655 authored by Roman Sebastian Karwacik's avatar Roman Sebastian Karwacik
Browse files

Format strings not supported in 3.5.3

parent f42bf61d
......@@ -72,7 +72,7 @@ def finish_oauth():
for course in data['Data']:
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)))
del session['oauthscope']
oauthget('token', refresh_token=token['refresh_token'], grant_type='invalidate')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment