forked from rDrama/rDrama
fix 500 error
parent
855fc20a2a
commit
3e1ac91b66
|
@ -26,6 +26,7 @@ class SubmissionOption(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