From 1199ec7a22ec51f57b7b194e20173b1cc7654468 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 9 Feb 2017 15:38:30 +0100 Subject: [PATCH] added await --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ed4d5bcd..29aaa78a 100644 --- a/main.py +++ b/main.py @@ -85,7 +85,7 @@ async def overwatch_status_change(timeout): db[player]["overwatch"]["rank"] = rank save_db() finally: - asyncio.sleep(1) + await asyncio.sleep(1) print("[Overwatch] Check completed successfully.") # Wait for the timeout await asyncio.sleep(timeout)