wip
This commit is contained in:
		| @@ -72,10 +72,10 @@ class MasterService: | ||||
|             case TelegramParser(): | ||||
|                 loop = asyncio.new_event_loop() | ||||
|                 asyncio.set_event_loop(loop) | ||||
|                 f: asyncio.Future = asyncio.run_coroutine_threadsafe(downloader.video_download(), loop) | ||||
|                 r = f.result(600)                                       | ||||
|                 result = loop.run_until_complete(downloader.video_download()) | ||||
|                 # r = f.result(600)                                       | ||||
|                 # loop.close() | ||||
|                 return r | ||||
|                 return result | ||||
|             case _: | ||||
|                 result = downloader.video_download() | ||||
|                 return result | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nikili0n
						nikili0n