Commit d739c23e authored by Jannis Leidel's avatar Jannis Leidel Committed by Sean Bleier

Simplify get() slightly.

parent fc404efa
...@@ -47,7 +47,7 @@ class CacheClass(BaseCache): ...@@ -47,7 +47,7 @@ class CacheClass(BaseCache):
if value is None: if value is None:
return default return default
else:
# picke doesn't want a unicode! # picke doesn't want a unicode!
value = smart_str(value) value = smart_str(value)
......
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