forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann1 2022-07-02 11:47:35 +02:00
parent 855fc20a2a
commit 3e1ac91b66
1 changed files with 1 additions and 0 deletions

View File

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