Commit 1330e922 authored by Jannis Leidel's avatar Jannis Leidel Committed by Sean Bleier

Don't double prepare the key when setting the expiration.

parent 51a3843f
......@@ -90,7 +90,7 @@ class CacheClass(BaseCache):
Set content expiration, if necessary
"""
timeout = timeout or self.default_timeout
self._cache.expire(self.prepare_key(key), timeout)
self._cache.expire(key, timeout)
def delete(self, key):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment