Remove try except
This commit is contained in:
parent
801738fea9
commit
5741866c07
1 changed files with 1 additions and 4 deletions
|
@ -43,10 +43,7 @@ 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