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()
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user