Commit e05a534e authored by Ales Zoulek's avatar Ales Zoulek

[typo/bug] use client param

parent 0696b25b
......@@ -101,7 +101,7 @@ class CacheClass(BaseCache):
if not timeout:
timeout = self.default_timeout
# store the pickled value
result = self._cache.setex(key, pickle.dumps(value), int(timeout))
result = client.setex(key, pickle.dumps(value), int(timeout))
# result is a boolean
return result
......
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