Skip to content

Commit

Permalink
Merge pull request #14 from r9y9/windows-pretrained
Browse files Browse the repository at this point in the history
windows: use expanduser instread of os.environ["HOME"]
  • Loading branch information
r9y9 authored Sep 15, 2021
2 parents bcee018 + dddd0a1 commit 925d491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttslearn/pretrained/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"v0.2.1": "https://github.com/r9y9/ttslearn/releases/download/v0.2.1",
}

DEFAULT_CACHE_DIR = join(os.environ["HOME"], ".cache", "ttslearn")
DEFAULT_CACHE_DIR = join(os.path.expanduser("~"), ".cache", "ttslearn")
CACHE_DIR = os.environ.get("TTSLEARN_CACHE_DIR", DEFAULT_CACHE_DIR)


Expand Down

0 comments on commit 925d491

Please # to comment.