Adds await
to an asyncio.sleep that was missing it
This commit is contained in:
parent
1924eab355
commit
11bdef53d5
@ -276,7 +276,7 @@ class Game:
|
|||||||
|
|
||||||
# Need a loop here to wait for trial to end (can_vote?)
|
# Need a loop here to wait for trial to end (can_vote?)
|
||||||
while self.ongoing_vote:
|
while self.ongoing_vote:
|
||||||
asyncio.sleep(5)
|
await asyncio.sleep(5)
|
||||||
|
|
||||||
if check():
|
if check():
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user