tMerge pull request #2092 from 7sean68/patch-1 - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 2ef7974897674f00747f3a04dba61383733ccfe0 (DIR) parent 0dabfd47640ac0f8894c04fac93372e3da2c8bc3 (HTM) 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: M lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/lib/util.py b/lib/util.py t@@ -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")