fix error when day times out with a tie vote
This commit is contained in:
parent
0ee47253f4
commit
f51833d4c4
@ -2017,7 +2017,7 @@ def hurry_up(cli, gameid, change):
|
|||||||
maxfound = (0, "")
|
maxfound = (0, "")
|
||||||
for votee, voters in votelist.items():
|
for votee, voters in votelist.items():
|
||||||
if numvotes[votee] > maxfound[0]:
|
if numvotes[votee] > maxfound[0]:
|
||||||
maxfound = (numvotes, votee)
|
maxfound = (numvotes[votee], votee)
|
||||||
found_dup = False
|
found_dup = False
|
||||||
elif numvotes[votee] == maxfound[0]:
|
elif numvotes[votee] == maxfound[0]:
|
||||||
found_dup = True
|
found_dup = True
|
||||||
|
Loading…
Reference in New Issue
Block a user