From 3ff98226fa528091b8e221cb3e657ca17b35f95b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 16 Apr 2022 18:42:28 +0200 Subject: [PATCH] fds --- files/classes/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 191b9d7b2a..aaec8f889b 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -221,7 +221,7 @@ class Comment(Base): def replies(self): if self.replies2 != None: return [x for x in self.replies2 if not x.author.shadowbanned] if not self.parent_submission: - return sorted((x for x in self.child_comments if x.author and not x.author.shadowbanned), key=lambda x: x.created_utsc) + return sorted((x for x in self.child_comments if x.author and not x.author.shadowbanned), key=lambda x: x.created_utc) 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, AUTOCHOICE_ID)), key=lambda x: x.realupvotes, reverse=True) @property