diff --git a/python/src/trezorlib/transport/hid.py b/python/src/trezorlib/transport/hid.py index aab512b2f..97865f3e5 100644 --- a/python/src/trezorlib/transport/hid.py +++ b/python/src/trezorlib/transport/hid.py @@ -90,7 +90,8 @@ class HidHandle: def read_chunk(self) -> bytes: while True: - chunk = self.handle.read(64) + # hidapi seems to return lists of ints instead of bytes + chunk = bytes(self.handle.read(64)) if chunk: break else: