core: add base cachew directory

This commit is contained in:
Dima Gerasimov 2020-07-31 12:14:50 +01:00 committed by karlicoss
parent 10a8ebaae4
commit c54d85037c
4 changed files with 24 additions and 2 deletions

View file

@ -30,6 +30,7 @@ from ..kython import kompress
logger = LazyLogger(__name__)
# todo switch to use cachew.cache_dir
def cache_path(*args, **kwargs):
from my.config import location as config
return config.cache_path