Add a temp fix
This commit is contained in:
parent
56c2b6d9b9
commit
9940d9cc4c
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ def cache_wrapper(prefix, timeout=None):
|
||||||
result = func(*args, **kwargs)
|
result = func(*args, **kwargs)
|
||||||
if result is None:
|
if result is None:
|
||||||
result = NONE_RESULT
|
result = NONE_RESULT
|
||||||
cache.set(cache_key, result, timeout)
|
try:
|
||||||
|
cache.set(cache_key, result, timeout)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def dirty(*args, **kwargs):
|
def dirty(*args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue