forked from rDrama/rDrama
fix 500 error
parent
3e1ac91b66
commit
5b8b53e312
|
@ -76,6 +76,7 @@ class CommentOption(Base):
|
|||
|
||||
@lazy
|
||||
def voted(self, v):
|
||||
if not v: return False
|
||||
return v.id in [x.user_id for x in self.votes]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue