tfix: return None if user presses cancel - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2fb738be594c38ed33de97f53e477c6d3d230d42 DIR parent 0eead383322274378ff755cbd4e2e0b2704c9464 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 17 Dec 2013 07:10:40 +0100 fix: return None if user presses cancel Diffstat: M gui/qt/installwizard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -178,7 +178,8 @@ class InstallWizard(QDialog): vbox.addLayout(ok_cancel_buttons(self, _('Next'))) self.set_layout(vbox) - if not self.exec_(): return None, None + if not self.exec_(): + return None mpk = str(mpk_e.toPlainText()).strip() chain = str(chain_e.toPlainText()).strip()