mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Temporary fix "Coroutine 'BaseBot.close' was never awaited"
This commit is contained in:
parent
c143d82023
commit
ce0d9aa3c6
1 changed files with 2 additions and 1 deletions
|
|
@ -68,7 +68,8 @@ class BaseBot:
|
|||
self.parse_mode = parse_mode
|
||||
|
||||
def __del__(self):
|
||||
asyncio.ensure_future(self.close())
|
||||
# asyncio.ensure_future(self.close())
|
||||
pass
|
||||
|
||||
async def close(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue