tfix #2026 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 36d0dff092290e4e013da8ea963d3b8557442335 DIR parent af55fec76409074d5e77368583e6f3e3d08cfeb4 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 8 Nov 2016 16:39:04 +0100 fix #2026 Diffstat: M lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -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