Skip to content

Commit

Permalink
Add dtoolcore.utils.DEFAULT_CACHE_PATH global helper variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tjelvar-olsson committed Apr 24, 2019
1 parent 7647581 commit 14f9ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This change log uses principles from `keep a changelog <http://keepachangelog.co
Added
^^^^^

- ``dtoolcore.utils.DEFAULT_CACHE_PATH`` global helper variable


Changed
^^^^^^^
Expand All @@ -27,7 +29,6 @@ Fixed
^^^^^



Security
^^^^^^^^

Expand Down
1 change: 1 addition & 0 deletions dtoolcore/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
IS_WINDOWS = True

DEFAULT_CONFIG_PATH = os.path.expanduser("~/.config/dtool/dtool.json")
DEFAULT_CACHE_PATH = os.path.expanduser("~/.cache/dtool")

MAX_NAME_LENGTH = 80
NAME_VALID_CHARS_LIST = ["0-9", "a-z", "A-Z", "-", "_", "."]
Expand Down

0 comments on commit 14f9ae3

Please sign in to comment.