1
0
This commit is contained in:
SomberNight
2018-03-22 08:18:27 +01:00
parent a00439b6f8
commit c0a42b756b
2 changed files with 14 additions and 2 deletions

View File

@@ -233,6 +233,10 @@ class SimpleConfig(PrintError):
return path
# default path
if not os.path.exists(self.path):
raise FileNotFoundError(
_('Electrum datadir does not exist. Was it deleted while running?') + '\n' +
_('Should be at {}').format(self.path))
dirpath = os.path.join(self.path, "wallets")
if not os.path.exists(dirpath):
if os.path.islink(dirpath):