commit 2ef7974897674f00747f3a04dba61383733ccfe0
parent 0dabfd47640ac0f8894c04fac93372e3da2c8bc3
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 4 Jan 2017 00:34:15 +0100
Merge pull request #2092 from 7sean68/patch-1
changed false Identification of windows as linux
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -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")