sfdfsd
This commit is contained in:
parent
2a965e9ff5
commit
fcf07bf036
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue