This commit is contained in:
grossmj
2019-11-11 12:44:31 +08:00
parent 2fd4b2cbc8
commit a98fc2d308
6 changed files with 10 additions and 9 deletions

View File

@ -42,7 +42,7 @@ class NotificationQueue(asyncio.Queue):
try:
(action, msg, kwargs) = await asyncio.wait_for(super().get(), timeout)
except asyncio.futures.TimeoutError:
except asyncio.TimeoutError:
return ("ping", PingStats.get(), {})
return (action, msg, kwargs)