mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 18:27:15 +02:00
OTA success reporting fix (#2202)
This commit is contained in:
@ -205,7 +205,7 @@ def serve(remoteAddr, localAddr, remotePort, localPort, password, filename, comm
|
|||||||
data = connection.recv(32).decode()
|
data = connection.recv(32).decode()
|
||||||
logging.info('Result: %s' ,data)
|
logging.info('Result: %s' ,data)
|
||||||
|
|
||||||
if data == "OK":
|
if "OK" in data:
|
||||||
logging.info('Success')
|
logging.info('Success')
|
||||||
connection.close()
|
connection.close()
|
||||||
f.close()
|
f.close()
|
||||||
|
Reference in New Issue
Block a user