commit 41e39caad1e865ff7784e616e1c01e5e066fb9ca
parent 091e7b8d9203fc2240c46360515784b82d389d47
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 4 Aug 2017 05:37:17 +0200
Merge pull request #2683 from valiz/master
Fix commands that require password with unencrypted wallet
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -100,6 +100,9 @@ class Commands:
password = password_getter()
if password is None:
return
+ else:
+ password = None
+
f = getattr(self, method)
if cmd.requires_password:
result = f(*args, **{'password':password})