🐛 Remove asyncio

This commit is contained in:
xtaodada 2021-11-10 22:48:39 +08:00
parent 0cc112f316
commit 0b0bc44b27
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

@ -1,6 +1,5 @@
""" PagerMaid initialization. """ """ PagerMaid initialization. """
import asyncio
from concurrent.futures import CancelledError from concurrent.futures import CancelledError
# Analytics # Analytics
@ -283,7 +282,7 @@ async def save_id():
with bot: with bot:
asyncio.ensure_future(save_id()) bot.loop.run_until_complete(save_id())
def before_send(event, hint): def before_send(event, hint):