From 36d0dff092290e4e013da8ea963d3b8557442335 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 8 Nov 2016 16:39:04 +0100 Subject: [PATCH] fix #2026 --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index 068949d6..d130b4f8 100644 --- 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