提交 25fd2d0f 编写于 作者: P petefats 提交者: Me No Dev

OTA success reporting fix (#2202)

上级 278fa0d8
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册