Skip to content

Commit 25fd2d0

Browse files
petefatsme-no-dev
authored andcommitted
OTA success reporting fix (espressif#2202)
1 parent 278fa0d commit 25fd2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/espota.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def serve(remoteAddr, localAddr, remotePort, localPort, password, filename, comm
205205
data = connection.recv(32).decode()
206206
logging.info('Result: %s' ,data)
207207

208-
if data == "OK":
208+
if "OK" in data:
209209
logging.info('Success')
210210
connection.close()
211211
f.close()

0 commit comments

Comments
 (0)