|
|
@ -93,6 +93,7 @@ class SimpleConfig(PrintError): |
|
|
|
if os.path.islink(path): |
|
|
|
raise BaseException('Dangling link: ' + path) |
|
|
|
os.mkdir(path) |
|
|
|
os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR) |
|
|
|
|
|
|
|
self.print_error("electrum directory", path) |
|
|
|
return path |
|
|
@ -167,6 +168,7 @@ class SimpleConfig(PrintError): |
|
|
|
if os.path.islink(dirpath): |
|
|
|
raise BaseException('Dangling link: ' + dirpath) |
|
|
|
os.mkdir(dirpath) |
|
|
|
os.chmod(dirpath, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR) |
|
|
|
|
|
|
|
new_path = os.path.join(self.path, "wallets", "default_wallet") |
|
|
|
|
|
|
|