aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/utility/authentication_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/authentication_tools.py b/wqflask/utility/authentication_tools.py
index 68bbb276..c52ebafa 100644
--- a/wqflask/utility/authentication_tools.py
+++ b/wqflask/utility/authentication_tools.py
@@ -88,7 +88,7 @@ def check_admin(resource_id=None):
response = json.loads(requests.get(the_url).content)['admin']
except:
resource_info = get_resource_info(resource_id)
-l response = resource_info['default_mask']['admin']
+ response = resource_info['default_mask']['admin']
if 'edit-admins' in response:
return "edit-admins"