remotes/1693045480750635534/spooky-22
Aevann1 2022-02-07 17:24:37 +02:00
parent bcb66c6f72
commit 3b51b37535
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class Submission(Base):
return False
def total_choice_voted(self, v):
if v:
if v and self.choices:
return g.db.query(CommentVote).filter(CommentVote.user_id == v.id, CommentVote.comment_id.in_(tuple(x.id for x in self.choices))).all()
return False