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)
|
||||
if result is None:
|
||||
result = NONE_RESULT
|
||||
try:
|
||||
cache.set(cache_key, result, timeout)
|
||||
except:
|
||||
pass
|
||||
return result
|
||||
|
||||
def dirty(*args, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue