diff --git a/diskcache/recipes.py b/diskcache/recipes.py index d7432f3..f8b43d1 100644 --- a/diskcache/recipes.py +++ b/diskcache/recipes.py @@ -539,10 +539,9 @@ def timer(*args, **kwargs): def wrapper(*args, **kwargs): "Wrapper for callable to cache arguments and return values." key = wrapper.__cache_key__(*args, **kwargs) - trio, expire_time = cache.get( + trio = cache.get( key, default=ENOVAL, - expire_time=True, retry=True, )