Fix cache timeout behavior

This commit is contained in:
s-hertel 2018-05-25 12:13:51 -04:00 committed by Brian Coca
parent 8bccd0830b
commit c1400ce909

View file

@ -153,7 +153,7 @@ class BaseFileCacheModule(BaseCacheModule):
def has_expired(self, key):
if self._timeout == 0:
return True
return False
cachefile = "%s/%s" % (self._cache_dir, key)
try: