commit afd39b2f42571d811d7419f1029feea9525eb82b
parent c50d758c3e037a3d6c2fcabc72d9ac4e5b104a3d
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 27 Feb 2018 12:19:54 +0100
Merge branch 'master' of github.com:spesmilo/electrum
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/daemon.py b/lib/daemon.py
@@ -174,7 +174,7 @@ class Daemon(DaemonThread):
path = config.get_wallet_path()
wallet = self.load_wallet(path, config.get('password'))
self.cmd_runner.wallet = wallet
- response = True
+ response = wallet is not None
elif sub == 'close_wallet':
path = config.get_wallet_path()
if path in self.wallets: