aboutsummaryrefslogtreecommitdiff
path: root/coupons.py
diff options
context:
space:
mode:
Diffstat (limited to 'coupons.py')
-rwxr-xr-xcoupons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coupons.py b/coupons.py
index 061f998..1e4b964 100755
--- a/coupons.py
+++ b/coupons.py
@@ -69,7 +69,7 @@ def get_cached_name(store, date = None):
"""
USE_CACHE = True
store = store.lower()
- cache_dir = os.environ.get("XDG_CACHE_DIR") # defauls to ~/.cache
+ cache_dir = os.environ.get("XDG_CACHE_HOME") # defaults to ~/.cache
if "" == cache_dir or cache_dir is None:
cache_dir = os.path.join(os.environ.get("HOME"),".cache")
# use an app-specific dir underneath it
bgstack15