Skip to content
Permalink
Browse files

Explicitly log obtained data

  • Loading branch information...
DavidVentura committed Jul 11, 2019
1 parent fdf76d9 commit 8a3d443cfa3a10ab2a195a5595584dcceccf661e
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware/common.py
@@ -96,7 +96,7 @@ def OTA(topic, msg):

data = msg.decode('ascii').split("|")
log(data)
log("Target IP: %s, Target Port: %s, Local filename: %s, hash: %s" % tuple(data))
log("Target IP: %s, Target Port: %s, Local filename: %s, hash: %s" % (data[0], data[1], data[2], data[3]))
success = receive_ota(data[0], int(data[1]), data[3])
# ip, port, hash
if not success:

0 comments on commit 8a3d443

Please sign in to comment.
You can’t perform that action at this time.