forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann1 2022-07-02 11:47:49 +02:00
parent 3e1ac91b66
commit 5b8b53e312
1 changed files with 1 additions and 0 deletions

View File

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