tfix wizard - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2d3df982eb868ca3edb5cfb68687bae78ddbdf32 DIR parent b63fcde503d54bdb4228780d4191a93e168682f9 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 21 Aug 2014 19:13:26 +0200 fix wizard Diffstat: M gui/qt/installwizard.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -373,21 +373,22 @@ class InstallWizard(QDialog): if action == 'new': action, wallet_type = self.restore_or_create() + if action == 'create': + self.storage.put('wallet_type', wallet_type) + if action is None: return + if action == 'restore': wallet = self.restore(wallet_type) if not wallet: return action = None - elif action == 'create': - self.storage.put('wallet_type', wallet_type) + else: wallet = Wallet(self.storage) action = wallet.get_action() # fixme: password is only needed for multiple accounts password = None - else: - raise BaseException('unknown action') while action is not None: util.print_error("installwizard:", wallet, action)