gfd\
This commit is contained in:
parent
0c6d1893e2
commit
cad38bb579
1 changed files with 2 additions and 2 deletions
|
@ -87,12 +87,12 @@ class Comment(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def options(self):
|
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
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def choices(self):
|
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):
|
def total_poll_voted(self, v):
|
||||||
if v:
|
if v:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue