mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
fix missing aexit
This commit is contained in:
@@ -273,6 +273,9 @@ class Telegram:
|
||||
async with TelegramTweet(self._httpx_client, self._url) as tweet:
|
||||
return tweet
|
||||
|
||||
async def __aexit__(self, exc_type, exc_val, exc_tb):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def init_client(cls) -> None:
|
||||
cls._httpx_client = create_client()
|
||||
|
||||
Reference in New Issue
Block a user