mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
better use its own dir; some users might think they can safely delete their Bitcoin dir
This commit is contained in:
parent
e606ec9506
commit
94d34c37c9
1 changed files with 3 additions and 3 deletions
|
@ -217,11 +217,11 @@ class InvalidPassword(Exception):
|
||||||
|
|
||||||
|
|
||||||
if "HOME" in os.environ:
|
if "HOME" in os.environ:
|
||||||
wallet_dir = os.environ["HOME"] + '/.bitcoin/'
|
wallet_dir = os.environ["HOME"] + '/.electrum/'
|
||||||
elif "LOCALAPPDATA" in os.environ:
|
elif "LOCALAPPDATA" in os.environ:
|
||||||
wallet_dir = os.environ["LOCALAPPDATA"] + '/Bitcoin/'
|
wallet_dir = os.environ["LOCALAPPDATA"] + '/Electrum/'
|
||||||
elif "APPDATA" in os.environ:
|
elif "APPDATA" in os.environ:
|
||||||
wallet_dir = os.environ["APPDATA"] + '/Bitcoin/'
|
wallet_dir = os.environ["APPDATA"] + '/Electrum/'
|
||||||
else:
|
else:
|
||||||
print "No home directory found in environment variables."
|
print "No home directory found in environment variables."
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Add table
Reference in a new issue