fix 'daemon load_wallet' over RPC for python > 3.5.3

related: #3764
This commit is contained in:
SomberNight 2018-09-06 15:14:35 +02:00
parent 40ceabff79
commit 0142e0fa22
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9

View File

@ -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')