From 0142e0fa223bb2c56dd684e7a0867787fe0e9e2b Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 6 Sep 2018 15:14:35 +0200 Subject: [PATCH] fix 'daemon load_wallet' over RPC for python > 3.5.3 related: #3764 --- electrum/simple_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/simple_config.py b/electrum/simple_config.py index 25efbb8db..4bfd56f57 100644 --- a/electrum/simple_config.py +++ b/electrum/simple_config.py @@ -241,7 +241,7 @@ class SimpleConfig(PrintError): # command line -w option if self.get('wallet_path'): - return os.path.join(self.get('cwd'), self.get('wallet_path')) + return os.path.join(self.get('cwd', ''), self.get('wallet_path')) # path in config file path = self.get('default_wallet_path')