Skip to content

Commit

Permalink
update cache folder to .cache folder
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin authored Jul 25, 2024
1 parent d7b5621 commit e2f9c7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions evdspy/EVDSlocal/requests_/my_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
test_result_file_name = str(get_current_dir() / ".." / "requests_" / "test_reg_result")
arg_sep = "_argSEP_"
p = Path()
pickle_folder = p.absolute() / 'pickles'
# pickle_folder = p.absolute() / 'pickles'
pickle_folder = Path.home() / ".cache" / "evdspy"

# -----------------------------------------------------------------------------
class CacheDecider(Enum):
day = date.today()
Expand Down Expand Up @@ -181,4 +183,4 @@ def cached_method(*args, **kwargs):
'MyCache',
'save_pickle_for_test',
'load_test_pickle'
]
]

0 comments on commit e2f9c7b

Please sign in to comment.