From 3e57516822a2376f280bec04481cad8545b20eb8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 7 Oct 2021 06:15:49 +0200 Subject: [PATCH] sdfsdf --- 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 3ba3e094c..0cbda2736 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -74,7 +74,7 @@ class Comment(Base): @property @lazy def options(self): - return self.child_comments.filter_by(author_id = AUTOPOLLER_ACCOUNT) + return [x for x in self.child_comments if x.author_id == AUTOPOLLER_ACCOUNT] @property @lazy