Adds `await` to an asyncio.sleep that was missing it

pull/56/head
Flame442 6 years ago committed by GitHub
parent 1924eab355
commit 11bdef53d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save