Adds await to an asyncio.sleep that was missing it

This commit is contained in:
Flame442 2019-06-14 15:10:49 -04:00 committed by GitHub
parent 1924eab355
commit 11bdef53d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ class Game:
# Need a loop here to wait for trial to end (can_vote?)
while self.ongoing_vote:
asyncio.sleep(5)
await asyncio.sleep(5)
if check():
return