forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-02-07 17:47:13 +02:00
parent bdbe0f5c51
commit a6beef77df
1 changed files with 2 additions and 2 deletions

View File

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