summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 739fa2fe80..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("", read_count=4)
+ read = self.wr_command(''.encode(), read_count=4)
result = struct.unpack("<I", read)
result = result[0]
if result != 0: