about summary refs log tree commit diff
path: root/fscache.py
diff options
context:
space:
mode:
Diffstat (limited to 'fscache.py')
-rw-r--r--fscache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fscache.py b/fscache.py
index 234e659..e549e92 100644
--- a/fscache.py
+++ b/fscache.py
@@ -30,6 +30,7 @@ class Cache:
             raise CacheMiss
 
         if time.time() > loc.stat().st_mtime:
+            loc.unlink()
             raise CacheMiss
         
         return loc.read_text()