aboutsummaryrefslogtreecommitdiff
path: root/api/hierarchy.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
commitdeb09e5c749e3353c927d7fe94bbd35f25ff85ee (patch)
tree702ba982530aa98a96ddece365a32be842dae3c2 /api/hierarchy.py
parent28f104de9ae9abe4b42abafbf3865ede5687996c (diff)
dprint yapf continuation align style edit
Diffstat (limited to 'api/hierarchy.py')
-rw-r--r--api/hierarchy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/hierarchy.py b/api/hierarchy.py
index f080c45..f75613c 100644
--- a/api/hierarchy.py
+++ b/api/hierarchy.py
@@ -16,7 +16,7 @@ def auth_required(level):
if not user_id: return "", 403
user_rank_text = cursor.execute(
- "select type from users where user_id = ?", [user_id]
+ "select type from users where user_id = ?", [user_id]
).fetchone()[0]
required_rank = ranks.index(level)