This commit is contained in:
Aevann1 2021-10-07 06:15:49 +02:00
parent 594343745d
commit 3e57516822

View file

@ -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