From 738e4bfdb5ca0639a678df36ed3f9c4c96f552e9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 8 Aug 2021 01:12:35 +0200 Subject: [PATCH] fd --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 277f12a07..c6184c2a3 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -58,7 +58,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None): # context improver try: context = int(request.args.get("context", 0)) except: context = 0 - while context > 0 and c.level > 1: + while context > 0 and comment.level > 1: parent = get_comment(c.parent_comment_id, v=v)