Fix async run

This commit is contained in:
Antonín Skala
2022-08-22 12:22:49 +02:00
committed by Markus
parent dd8675c6a9
commit 2b0e8f6fe9

View File

@ -90,7 +90,7 @@ class WsOtaHandler (threading.Thread):
def run(self, ): def run(self, ):
try: try:
asyncio.run(self.start_) asyncio.run(self.start_())
except Exception as exception: except Exception as exception:
Logger.exception(exception) Logger.exception(exception)
finally: finally: