mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
added await
This commit is contained in:
parent
11e45e0c45
commit
1199ec7a22
1 changed files with 1 additions and 1 deletions
2
main.py
2
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)
|
||||
|
|
Loading…
Reference in a new issue