File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,8 +220,9 @@ def getDongle(debug=False):
220220 hidDevicePath = hidDevice ['path' ]
221221 ledger = True
222222 if hidDevice ['vendor_id' ] == 0x2c97 :
223- hidDevicePath = hidDevice ['path' ]
224- ledger = True
223+ if ('interface_number' in hidDevice and hidDevice ['interface_number' ] == 0 ) or ('usage_page' in hidDevice and hidDevice ['usage_page' ] == 0xffa0 ):
224+ hidDevicePath = hidDevice ['path' ]
225+ ledger = True
225226 if hidDevice ['vendor_id' ] == 0x2581 and hidDevice ['product_id' ] == 0x1807 :
226227 hidDevicePath = hidDevice ['path' ]
227228 if hidDevicePath is not None :
Original file line number Diff line number Diff line change 77here = dirname (__file__ )
88setup (
99 name = 'btchip-python' ,
10- version = '0.1.25 ' ,
10+ version = '0.1.26 ' ,
1111 author = 'BTChip' ,
1212 author_email = 'hello@ledger.fr' ,
1313 description = 'Python library to communicate with Ledger Nano dongle' ,
You can’t perform that action at this time.
0 commit comments