Skip to content

Commit

Permalink
OTA success reporting fix (#2202)
Browse files Browse the repository at this point in the history
  • Loading branch information
petefats authored and me-no-dev committed Dec 16, 2018
1 parent 278fa0d commit 25fd2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/espota.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 25fd2d0

Please sign in to comment.