From c5a606193a2dcccd8bb9db7b17b310652587d412 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Sat, 30 Oct 2010 12:47:41 -0400 Subject: [PATCH] Cache dir setup The cache should use path.saria_dir() to determine the correct path, rather than setting it directly. --- libsaria/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsaria/cache.py b/libsaria/cache.py index 0efb966a..2bf71fd3 100644 --- a/libsaria/cache.py +++ b/libsaria/cache.py @@ -9,7 +9,7 @@ join = path.join ls = path.ls rm = path.rm -CACHE_DIR = expand("~/.saria/cache") +CACHE_DIR = join(path.saria_dir(), "cache") mkdir(CACHE_DIR) class CacheObject: