From 63dbdc2227ddfb61eb6ad252f90f54cd087e0b7b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 3 Sep 2021 23:48:08 +0200 Subject: [PATCH] fd --- files/routes/comments.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 3cbe1c600..4bc242e18 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -307,8 +307,7 @@ def api_comment(v): g.db.add(c_based) g.db.flush() - if v.id == 1: print(level) - if level == 0: basedguy = get_account(c.parent_submission.author_id) + if level == 1: basedguy = get_account(c.parent_submission.author_id) else: basedguy = get_account(c.parent_comment.author_id) basedguy.basedcount += 1 g.db.add(basedguy)