From 637f02172094e0fadcc16d0518363a319ba18d9e Mon Sep 17 00:00:00 2001 From: Dantenerosas Date: Tue, 17 Oct 2023 15:50:04 +0300 Subject: [PATCH] minor fixes --- src/parsers/Telegram/telegram_media_downloader/module/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsers/Telegram/telegram_media_downloader/module/app.py b/src/parsers/Telegram/telegram_media_downloader/module/app.py index a796698..74a17bf 100644 --- a/src/parsers/Telegram/telegram_media_downloader/module/app.py +++ b/src/parsers/Telegram/telegram_media_downloader/module/app.py @@ -227,7 +227,7 @@ class Application: self.web_login_secret: str = "" self.debug_web: bool = False - self.loop = asyncio.new_event_loop() + self.loop = asyncio.get_event_loop() asyncio.set_event_loop(self.loop) self.executor = ThreadPoolExecutor(