Browse Source

improve error message (see #2991)

master
ThomasV 8 years ago
parent
commit
0bc53d34d1
  1. 2
      lib/daemon.py

2
lib/daemon.py

@ -251,7 +251,7 @@ class Daemon(DaemonThread):
path = config.get_wallet_path() path = config.get_wallet_path()
wallet = self.wallets.get(path) wallet = self.wallets.get(path)
if wallet is None: 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: else:
wallet = None wallet = None
# arguments passed to function # arguments passed to function

Loading…
Cancel
Save