LedgerHQ / btchip-python

Ledger HW.1 Python API
http://www.ledger.co
Apache License 2.0
65 stars 51 forks source link

WinUSBDongle constructor interface mismatch #15

Closed ulrichard closed 9 years ago

ulrichard commented 9 years ago

After updating to the most recent version, my HW1 with WinUSB does no longer work. At first sight it might be because the interface doesn't match :

class WinUSBDongle(Dongle, DongleWait): def init(self, device, debug=False):

...

return WinUSBDongle(dev, ledger, debug)

I can get it to work by simply removing the ledger variable from the instantiation. Although I have no idea if that's the right fix.

btchip commented 9 years ago

You're right, I just pushed a fix for that - thanks for reporting.