From 04d39d0fce210151386b51e24f268ebe2f7b4872 Mon Sep 17 00:00:00 2001 From: Dantenerosas Date: Wed, 18 Oct 2023 00:48:55 +0300 Subject: [PATCH] up --- src/core/master_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/master_service.py b/src/core/master_service.py index 68e1d84..50661a2 100644 --- a/src/core/master_service.py +++ b/src/core/master_service.py @@ -72,7 +72,7 @@ class MasterService: case TelegramParser(): loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) - f: asyncio.Future = asyncio.run_coroutine_threadsafe(downloader.video_download()) + f: asyncio.Future = asyncio.run_coroutine_threadsafe(downloader.video_download(), loop) r = f.result(60) # loop.close() return r