summaryrefslogtreecommitdiff
path: root/giscanner/cachestore.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/cachestore.py')
-rw-r--r--giscanner/cachestore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/cachestore.py b/giscanner/cachestore.py
index 70ca00ad..d839ef58 100644
--- a/giscanner/cachestore.py
+++ b/giscanner/cachestore.py
@@ -135,7 +135,7 @@ class CacheStore(object):
for filename in os.listdir(self._directory):
if filename == _CACHE_VERSION_FILENAME:
continue
- self._remove_filename(filename)
+ self._remove_filename(os.path.join(self._directory, filename))
def store(self, filename, data):
store_filename = self._get_filename(filename)