This commit is contained in:
Aevann1 2021-12-11 05:32:43 +02:00
parent 2a965e9ff5
commit fcf07bf036
3 changed files with 5 additions and 2 deletions

View file

@ -96,6 +96,7 @@ class Submission(Base):
return False
def total_bet_voted(self, v):
if "closed" in self.body.lower(): return True
if v:
for option in self.bet_options:
if option.poll_voted(v): return True