tFix install wizard - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 450ab76f78db2fefea126b61b20d227b3c81f9c4 DIR parent cda92cd12cbb10b798e6f25db580a19cfb075ef6 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Sun, 10 Jan 2016 20:44:20 +0900 Fix install wizard Used to pass the wallet as an argument to wallet methods. Diffstat: M lib/wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/wizard.py b/lib/wizard.py t@@ -170,10 +170,10 @@ class WizardBase(PrintError): self.print_error("action %s on %s" % (action, wallet.basename())) # Run the action on the wallet plugin, if any, then the # wallet and finally ourselves - calls = [(wallet, (wallet, )), - (self, (wallet, ))] + calls = [] if hasattr(wallet, 'plugin'): - calls.insert(0, (wallet.plugin, (wallet, self))) + calls.append((wallet.plugin, (wallet, self))) + calls.extend([(wallet, ()), (self, (wallet, ))]) calls = [(getattr(actor, action), args) for (actor, args) in calls if hasattr(actor, action)] if not calls: