Fix cache timeout behavior

(cherry picked from commit c1400ce909)
pull/41057/head
s-hertel 6 years ago committed by Matt Clay
parent 8d345c7cd6
commit eedf5d6c6d

@ -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:

Loading…
Cancel
Save