From b40dbec249c2aaa571d40089622087d8341bd091 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Feb 2022 07:18:47 +0200 Subject: [PATCH] sf --- files/routes/front.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 8d37005031..920c15f591 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -95,12 +95,10 @@ def notifications(v): c.is_blocked = False c.is_blocking = False if c.parent_submission and c.parent_comment and c.parent_comment.author_id == v.id: - for x in c.replies: if x.author_id == v.id: x.voted = 1 - replies.append(x) - c.replies2 = replies + c.replies2.append(x) c.replies = [] @@ -117,11 +115,10 @@ def notifications(v): for x in c.replies: if x.author_id == v.id: x.voted = 1 - replies.append(x) - c.replies2 = replies + c.replies2.append(x) c.replies = [] - + if c not in listing: listing.append(c) else: