From f2606b509594667cdcc27a57fd012db0e2175f7d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 7 Aug 2021 23:34:27 +0200 Subject: [PATCH] fd --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 3497a992e..8be11349b 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -42,7 +42,7 @@ def notifications(v): c._is_blocking = False if c.parent_submission and c.parent_comment and c.parent_comment.author_id == v.id: c.replies = [] - while c.parent_comment: + while c.parent_comment and c.parent_comment.author_id == v.id: parent = c.parent_comment if c not in parent.replies2: parent.replies2 = parent.replies2 + [c]