OTA success reporting fix (#2202)
This commit is contained in:
parent
278fa0d87a
commit
25fd2d0f3b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user