From 92eb5d3e58a2c6c611ae422cb4849364ed5f380c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 25 Nov 2021 23:33:00 +0200 Subject: [PATCH] sfdsfd --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 8bd3710ba2..5d87bb2e54 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -819,7 +819,7 @@ def ban_user(user_id, v): post = get_post(post) post.bannedfor = True g.db.add(post) - elif reason.startswith("/comment/"): + elif reason.startswith("/comment/"): comment = int(reason.split("/comment/")[1].split(None, 1)[0]) comment = get_comment(comment) comment.bannedfor = True