additional logic for issue

This commit is contained in:
bobokun 2022-01-21 12:22:30 -05:00
parent e498bd0c35
commit 4c572ae043
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -114,7 +114,14 @@ class Qbt:
if x.url.startswith('http'):
status = x.status
msg = x.msg.upper()
exception = ["DOWN", "DOWN.", "UNREACHABLE", "BAD GATEWAY", "TRACKER UNAVAILABLE"]
exception = [
"DOWN",
"DOWN.",
"UNREACHABLE",
"(UNREACHABLE)",
"BAD GATEWAY",
"TRACKER UNAVAILABLE"
]
if x.status == 2:
working_tracker = True
break