We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f85c17 commit 3f0baccCopy full SHA for 3f0bacc
ledgerblue/comm.py
@@ -310,6 +310,9 @@ def getDongle(debug=False, selectCommand=None):
310
) or ("usage_page" in hidDevice and hidDevice["usage_page"] == 0xFFA0):
311
hidDevicePath = hidDevice["path"]
312
313
+ usb_port = os.getenv("LEDGER_PROXY_USB_PORT")
314
+ if usb_port:
315
+ hidDevicePath = usb_port.encode()
316
if hidDevicePath is not None:
317
dev = hid.device()
318
dev.open_path(hidDevicePath)
0 commit comments