OTA success reporting fix (#2202)

This commit is contained in:
petefats 2018-12-16 05:00:15 -07:00 committed by Me No Dev
parent 278fa0d87a
commit 25fd2d0f3b

View File

@ -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()