fix #2026
This commit is contained in:
parent
af55fec764
commit
36d0dff092
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue