From 6d050191c3feea1d31cb74920c5eb7949a4e0c7a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Feb 2022 07:37:45 +0200 Subject: [PATCH] dfg --- files/classes/comment.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/classes/comment.py b/files/classes/comment.py index 3ca25c237..c8be0f61f 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -197,6 +197,9 @@ class Comment(Base): @property def replies(self): + if self.id == 1313520: + print(self.replies2) + return [] if self.replies2 != None: return [x for x in self.replies2 if not x.author.shadowbanned] return sorted((x for x in self.child_comments if x.author and not x.author.shadowbanned and x.author_id not in (AUTOPOLLER_ID, AUTOBETTER_ID)), key=lambda x: x.realupvotes, reverse=True)