mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
Merge pull request #2092 from 7sean68/patch-1
changed false Identification of windows as linux
This commit is contained in:
commit
2ef7974897
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue