summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/usb_updater/fw_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/usb_updater/fw_update.py b/extra/usb_updater/fw_update.py
index 910f124c94..ebc7623ac2 100755
--- a/extra/usb_updater/fw_update.py
+++ b/extra/usb_updater/fw_update.py
@@ -257,7 +257,7 @@ class Supdate(object):
offset += pagesize
# Validate that the micro thinks it successfully wrote the data.
- read = self.wr_command(b"", read_count=4)
+ read = self.wr_command(''.encode(), read_count=4)
result = struct.unpack("<I", read)
result = result[0]
if result != 0: