From 5bb7a72c6c32eddfc57cc0b634679d2f786e3adb Mon Sep 17 00:00:00 2001 From: nikili0n 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(