commit 36d0dff092290e4e013da8ea963d3b8557442335
parent af55fec76409074d5e77368583e6f3e3d08cfeb4
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 8 Nov 2016 16:39:04 +0100
fix #2026
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -91,7 +91,7 @@ class Commands:
def _run(self, method, args, password_getter):
cmd = known_commands[method]
- if cmd.requires_password and self.wallet.use_encryption:
+ if cmd.requires_password and self.wallet.has_password():
self._password = apply(password_getter,())
if self._password is None:
return