mirror of
https://github.com/simon987/hexlib.git
synced 2025-12-15 23:59:08 +00:00
web retry_codes fix
This commit is contained in:
@@ -18,5 +18,5 @@ def get_web():
|
||||
rps=os.environ.get("RPS", 1),
|
||||
logger=stdout_logger,
|
||||
cookie_file=os.environ.get("COOKIE_FILE", None),
|
||||
retry_codes=set(int(x) for x in os.environ.get("RETRY_CODES", "").split(","))
|
||||
retry_codes=set(int(x) if x else None for x in os.environ.get("RETRY_CODES", "").split(","))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user