Cache dir setup
The cache should use path.saria_dir() to determine the correct path, rather than setting it directly.
This commit is contained in:
parent
16e3aac2ed
commit
c5a606193a
|
@ -9,7 +9,7 @@ join = path.join
|
||||||
ls = path.ls
|
ls = path.ls
|
||||||
rm = path.rm
|
rm = path.rm
|
||||||
|
|
||||||
CACHE_DIR = expand("~/.saria/cache")
|
CACHE_DIR = join(path.saria_dir(), "cache")
|
||||||
mkdir(CACHE_DIR)
|
mkdir(CACHE_DIR)
|
||||||
|
|
||||||
class CacheObject:
|
class CacheObject:
|
||||||
|
|
Loading…
Reference in New Issue