From 8919a8d9059857ce23adf492d4cdcdd18ff159a9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 1 Feb 2022 09:32:31 +0200 Subject: [PATCH] dfs --- files/routes/front.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 10c33f901c..0bfc8a360d 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -104,8 +104,8 @@ def notifications(v): all.add(c.id) parent.replies = parent.replies2 c = parent - - if c.id not in all and c not in listing: + + if c not in listing: all.add(c.id) listing.append(c) c.replies = c.replies2