Commit 25fd2d0f authored by petefats's avatar petefats Committed by Me No Dev

OTA success reporting fix (#2202)

parent 278fa0d8
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment