Browse Source

changed false Identification of windows as linux

283
7sean68 8 years ago
committed by GitHub
parent
commit
4f2924e4a0
  1. 2
      lib/util.py

2
lib/util.py

@ -243,7 +243,7 @@ def get_headers_path(config):
return os.path.join(config.path, 'blockchain_headers') return os.path.join(config.path, 'blockchain_headers')
def user_dir(): def user_dir():
if "HOME" in os.environ: if os.name == 'posix':
return os.path.join(os.environ["HOME"], ".electrum") return os.path.join(os.environ["HOME"], ".electrum")
elif "APPDATA" in os.environ: elif "APPDATA" in os.environ:
return os.path.join(os.environ["APPDATA"], "Electrum") return os.path.join(os.environ["APPDATA"], "Electrum")

Loading…
Cancel
Save