From 3d20954b16f4391ae5a249fd44f271aa305cdfcc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Feb 2022 07:40:17 +0200 Subject: [PATCH] fds --- files/classes/comment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index b4eab2ba72..4a7df919ca 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -197,10 +197,10 @@ class Comment(Base): @property def replies(self): - print(self.id) + print(self.id, flush=True) if self.id == 1313520: print('wtf') - print(self.replies2) + print(self.replies2, flush=True) 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)