From 5f970e010f2e96516e81b7a479e863eb364f441b Mon Sep 17 00:00:00 2001 From: BTChip Date: Sun, 31 Aug 2014 18:55:31 +0200 Subject: [PATCH] Do not display exchanged APDUs --- plugins/btchipwallet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py index 880eba2c..76eb69d1 100644 --- a/plugins/btchipwallet.py +++ b/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: