up
This commit is contained in:
parent
5392b0f0e1
commit
04d39d0fce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user