aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dfu b/bin/dfu
index d37d3ba..50015da 100755
--- a/bin/dfu
+++ b/bin/dfu
@@ -80,7 +80,7 @@ def _write(dst, data):
dst.write(data[i])
time.sleep(0.1)
if len(data) == 4:
- print("Wrote 0x{}".format(hexlify(data)))
+ print("Wrote 0x{}".format(hexlify(data).decode("ascii")))
else:
print("Wrote {!r}".format(data))