diff --git a/setup.py b/setup.py index d2590ea68..d40560cb2 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='trezor', - version='0.6.10', + version='0.6.11', author='Bitcoin TREZOR', author_email='info@bitcointrezor.com', description='Python library for communicating with TREZOR Bitcoin Hardware Wallet', diff --git a/trezorlib/transport_hid.py b/trezorlib/transport_hid.py index 102f3cd88..440fe565f 100644 --- a/trezorlib/transport_hid.py +++ b/trezorlib/transport_hid.py @@ -46,7 +46,7 @@ class HidTransport(Transport): if (vendor_id, product_id) in DEVICE_IDS: devices.setdefault(serial_number, [None, None]) - if interface_number == 0: # normal link + if interface_number == 0 or interface_number == -1: # normal link devices[serial_number][0] = path elif interface_number == 1: # debug link devices[serial_number][1] = path