From 9f8829b0db0b41a70def3475d01b5d34aa082510 Mon Sep 17 00:00:00 2001 From: t Date: Sun, 16 Dec 2018 01:46:20 -0700 Subject: [PATCH] OTA success reporting fix --- tools/espota.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/espota.py b/tools/espota.py index 8abdffb3ac3..f982376d175 100755 --- a/tools/espota.py +++ b/tools/espota.py @@ -205,7 +205,7 @@ def serve(remoteAddr, localAddr, remotePort, localPort, password, filename, comm data = connection.recv(32).decode() logging.info('Result: %s' ,data) - if data == "OK": + if "OK" in data: logging.info('Success') connection.close() f.close()