aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/cache.py')
-rw-r--r--gallery_dl/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/cache.py b/gallery_dl/cache.py
index 1824195..c48b53f 100644
--- a/gallery_dl/cache.py
+++ b/gallery_dl/cache.py
@@ -37,7 +37,7 @@ class CacheDecorator():
def update(self, key, value):
self.cache[key] = value
- def invalidate(self, key):
+ def invalidate(self, key=""):
try:
del self.cache[key]
except KeyError: