From e2f9c7b51d5f5d08f1c62be75b9e06f3620507e1 Mon Sep 17 00:00:00 2001 From: Sermet Pekin <96650846+SermetPekin@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:25:25 +0300 Subject: [PATCH] update cache folder to .cache folder --- evdspy/EVDSlocal/requests_/my_cache.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/evdspy/EVDSlocal/requests_/my_cache.py b/evdspy/EVDSlocal/requests_/my_cache.py index eaf7d5f..aa9c57b 100644 --- a/evdspy/EVDSlocal/requests_/my_cache.py +++ b/evdspy/EVDSlocal/requests_/my_cache.py @@ -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() @@ -181,4 +183,4 @@ def cached_method(*args, **kwargs): 'MyCache', 'save_pickle_for_test', 'load_test_pickle' -] \ No newline at end of file +]