changed false Identification of windows as linux
This commit is contained in:
parent
b6a29b7bc2
commit
4f2924e4a0
|
@ -243,7 +243,7 @@ def get_headers_path(config):
|
|||
return os.path.join(config.path, 'blockchain_headers')
|
||||
|
||||
def user_dir():
|
||||
if "HOME" in os.environ:
|
||||
if os.name == 'posix':
|
||||
return os.path.join(os.environ["HOME"], ".electrum")
|
||||
elif "APPDATA" in os.environ:
|
||||
return os.path.join(os.environ["APPDATA"], "Electrum")
|
||||
|
|
Loading…
Reference in New Issue