tMerge pull request #811 from btchip/no_verbose_apdus - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d8b1ddc9a7ef1894310f5d7f1bc1156a50b27061 DIR parent 79588eb4dacb40607bd014082b0bea781687ba64 HTML Author: ThomasV <thomasv1@gmx.de> Date: Mon, 1 Sep 2014 10:01:41 +0200 Merge pull request #811 from btchip/no_verbose_apdus Do not display exchanged APDUs Diffstat: M plugins/btchipwallet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py t@@ -29,6 +29,7 @@ try: from btchip.btchipPersoWizard import StartBTChipPersoDialog from btchip.btchipException import BTChipException BTCHIP = True + BTCHIP_DEBUG = False except ImportError: BTCHIP = False t@@ -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(".") t@@ -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: