From 3356504b78c8d4dfa29892f7bd4be6bebf6a9927 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Jul 2022 05:50:01 +0200 Subject: [PATCH] sneed --- 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 2a100db0a..38f074c9d 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -212,7 +212,7 @@ class Comment(Base): elif not self.parent_submission: replies = g.db.query(Comment).filter_by(parent_comment_id=self.id).order_by(Comment.id).all() else: - return self.child_comments + replies = self.child_comments return [x for x in replies if not x.author.shadowbanned]