From 31a3b987d6a5f52626bfacd8b53b7d0954f13bfe Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 12 Oct 2022 17:23:15 +0200 Subject: [PATCH] fix 500 error --- 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 ee4de4724..6de741271 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -215,7 +215,7 @@ class Comment(Base): if not self.parent_submission: sort='old' return sort_objects(sort, replies, Comment, - include_shadowbanned=(not (v and v.can_see_shadowbanned))) + include_shadowbanned=(not (v and v.can_see_shadowbanned))).all() @property