fix tests

This commit is contained in:
virusdefender
2019-03-26 10:51:49 +08:00
parent abfe99a8bf
commit f2576a9411
5 changed files with 13 additions and 10 deletions

View File

@@ -90,5 +90,5 @@ def DRAMATIQ_WORKER_ARGS(time_limit=3600_000, max_retries=0, max_age=7200_000):
def check_is_id(value):
try:
return int(value) > 0
except Exception as e:
except Exception:
return False