Skip to content

Commit e3fddea

Browse files
committed
Renamed cache dir to _cache
1 parent bc3e46f commit e3fddea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

remove-json-keys/src/remove_json_keys/lib/language.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def generate_random_lang(includes: Optional[List[str]] = None,
2222
def get_locales() -> List[str]:
2323

2424
# Read cache if found
25-
cache_dir = Path(__file__).parent.parent / '.cache'
25+
cache_dir = Path(__file__).parent.parent / '_cache'
2626
locale_cache = cache_dir / 'locales.json'
2727
if locale_cache.exists():
2828
try : return data.json.read(locale_cache)

translate-messages/src/translate_messages/lib/language.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def generate_random_lang(includes: Optional[List[str]] = None,
5454
def get_locales() -> List[str]:
5555

5656
# Read cache if found
57-
cache_dir = Path(__file__).parent.parent / '.cache'
57+
cache_dir = Path(__file__).parent.parent / '_cache'
5858
locale_cache = cache_dir / 'locales.json'
5959
if locale_cache.exists():
6060
try : return data.json.read(locale_cache)

0 commit comments

Comments
 (0)