From a6beef77df5498c2929ecab7ab030d1ffcbf9af1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 7 Feb 2022 17:47:13 +0200 Subject: [PATCH] gfd\ --- files/classes/comment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 7b6a628f8..54ba2e1fe 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -87,12 +87,12 @@ class Comment(Base): @property @lazy def options(self): - return (x for x in self.child_comments if x.author_id == AUTOPOLLER_ID) + return tuple(x for x in self.child_comments if x.author_id == AUTOPOLLER_ID) @property @lazy def choices(self): - return (x for x in self.child_comments if x.author_id == AUTOCHOICE_ID) + return tuple(x for x in self.child_comments if x.author_id == AUTOCHOICE_ID) def total_poll_voted(self, v): if v: