From 2b0e8f6fe9f9bcfcda3d0ce26a6a9e9906e7e33a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=C3=ADn=20Skala?= Date: Mon, 22 Aug 2022 12:22:49 +0200 Subject: [PATCH] Fix async run --- examples/esp8266/WebSocketClientOTA/python_ota_server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/esp8266/WebSocketClientOTA/python_ota_server/main.py b/examples/esp8266/WebSocketClientOTA/python_ota_server/main.py index 7e7fba1..174e2d3 100644 --- a/examples/esp8266/WebSocketClientOTA/python_ota_server/main.py +++ b/examples/esp8266/WebSocketClientOTA/python_ota_server/main.py @@ -90,7 +90,7 @@ class WsOtaHandler (threading.Thread): def run(self, ): try: - asyncio.run(self.start_) + asyncio.run(self.start_()) except Exception as exception: Logger.exception(exception) finally: