minor fixes

This commit is contained in:
Dantenerosas 2023-10-17 15:50:04 +03:00 committed by nikili0n
parent f4e644bb5e
commit 637f021720

View File

@ -227,7 +227,7 @@ class Application:
self.web_login_secret: str = "" self.web_login_secret: str = ""
self.debug_web: bool = False self.debug_web: bool = False
self.loop = asyncio.new_event_loop() self.loop = asyncio.get_event_loop()
asyncio.set_event_loop(self.loop) asyncio.set_event_loop(self.loop)
self.executor = ThreadPoolExecutor( self.executor = ThreadPoolExecutor(