Browse Source

Merge pull request #811 from btchip/no_verbose_apdus

Do not display exchanged APDUs
283
ThomasV 10 years ago
parent
commit
d8b1ddc9a7
  1. 5
      plugins/btchipwallet.py

5
plugins/btchipwallet.py

@ -29,6 +29,7 @@ try:
from btchip.btchipPersoWizard import StartBTChipPersoDialog
from btchip.btchipException import BTChipException
BTCHIP = True
BTCHIP_DEBUG = False
except ImportError:
BTCHIP = False
@ -141,7 +142,7 @@ class BTChipWallet(NewWallet):
aborted = False
if not self.client or self.client.bad:
try:
d = getDongle(True)
d = getDongle(BTCHIP_DEBUG)
d.setWaitImpl(DongleWaitQT(d))
self.client = btchip(d)
firmware = self.client.getFirmwareVersion()['version'].split(".")
@ -159,7 +160,7 @@ class BTChipWallet(NewWallet):
dialog = StartBTChipPersoDialog()
dialog.exec_()
# Then fetch the reference again as it was invalidated
d = getDongle(True)
d = getDongle(BTCHIP_DEBUG)
d.setWaitImpl(DongleWaitQT(d))
self.client = btchip(d)
else:

Loading…
Cancel
Save