From 32483e64c6d3d33a384bc58f0184efe3eee9fb67 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 3 Jan 2016 18:37:14 +0100 Subject: [PATCH] fix syntax errors in trustedcoin plugin --- plugins/trustedcoin/qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/trustedcoin/qt.py b/plugins/trustedcoin/qt.py index 1213e403d..ad44e60e6 100644 --- a/plugins/trustedcoin/qt.py +++ b/plugins/trustedcoin/qt.py @@ -79,7 +79,7 @@ class Plugin(TrustedCoinPlugin): def sign_tx(self, window, tx): self.print_error("twofactor:sign_tx") wallet = window.wallet - assert isinstace(wallet, self.wallet_class) + assert isinstance(wallet, self.wallet_class) if not wallet.can_sign_without_server(): auth_code = None if need_server(wallet, tx): @@ -101,7 +101,7 @@ class Plugin(TrustedCoinPlugin): @hook def abort_send(self, window): wallet = window.wallet - assert isinstace(wallet, self.wallet_class) + assert isinstance(wallet, self.wallet_class) if not wallet.can_sign_without_server(): if wallet.billing_info is None: # request billing info before forming the transaction