minor fixes

This commit is contained in:
nikili0n 2023-10-17 15:50:04 +03:00 committed by Dantenerosas
parent 56a43d212e
commit 5bb7a72c6c

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(