diff --git a/lib/commands.py b/lib/commands.py index 068949d63..d130b4f8b 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