commit 0bc53d34d16b891af78b6ebf86722100789c0ac2 parent 73c7fbcc6970e0b56eae6a8277116fb51b8a53a2 Author: ThomasV <thomasv@electrum.org> Date: Thu, 5 Oct 2017 10:34:20 +0200 improve error message (see #2991) Diffstat:
M | lib/daemon.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/daemon.py b/lib/daemon.py @@ -251,7 +251,7 @@ class Daemon(DaemonThread): path = config.get_wallet_path() wallet = self.wallets.get(path) if wallet is None: - return {'error': 'Wallet not open. Use "electrum daemon load_wallet"'} + return {'error': 'Wallet "%s" is not loaded. Use "electrum daemon load_wallet"'%os.path.basename(path) } else: wallet = None # arguments passed to function