better use its own dir; some users might think they can safely delete their Bitcoin dir
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user