Remove try except

This commit is contained in:
cuom1999 2023-10-10 20:23:52 -05:00
parent 801738fea9
commit 5741866c07

View file

@ -43,10 +43,7 @@ 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
try: cache.set(cache_key, result, timeout)
cache.set(cache_key, result, timeout)
except:
pass
return result return result
def dirty(*args, **kwargs): def dirty(*args, **kwargs):