commit 4c2deb6d2bfe4680a2cc9596f15d10823665f58a
parent 19deb566773128e5a45045c989517bd9d3d25d31
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 1 Aug 2017 10:47:33 +0200
follow-up to bc4fcfbebde9ac03cf4e19248f2ce029e4dd70c6
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
@@ -841,7 +841,7 @@ class ElectrumWindow(App):
if self.wallet.has_password():
self.password_dialog(msg, f, args)
else:
- f(*args, None)
+ f(*(args + (None,)))
def delete_wallet(self):
from uix.dialogs.question import Question
@@ -918,7 +918,7 @@ class ElectrumWindow(App):
def password_dialog(self, msg, f, args):
def callback(pw):
- Clock.schedule_once(lambda _: f(*args, pw), 0.1)
+ Clock.schedule_once(lambda _: f(*(args + (pw,))), 0.1)
if self._password_dialog is None:
from uix.dialogs.password_dialog import PasswordDialog
self._password_dialog = PasswordDialog()