diff options
author | Rob Austein <sra@hactrn.net> | 2020-05-26 15:18:35 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2020-05-26 15:18:35 -0400 |
commit | 6d797bffbd7571df98198df26977a39b86630ac7 (patch) | |
tree | d270af05d27bf746b4f4ba30a98542d93002f84f /bin/dfu | |
parent | f948d674351a2ca87d33c0e0d8558cbbb2f59682 (diff) |
Wow, python-version-independent hexadecimal is painful
Diffstat (limited to 'bin/dfu')
-rwxr-xr-x | bin/dfu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |