minor fixes

This commit is contained in:
garickbadalov 2023-10-17 15:50:04 +03:00
parent 45811384c3
commit d404aa92a6

View File

@ -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(