From 9a7a913401eefd7095b249fd6d533bb74cbe05f1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 2 May 2021 16:11:57 +0200 Subject: [PATCH] proxywatchd.py: also accept "ERROR" as success message (heh) --- proxywatchd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxywatchd.py b/proxywatchd.py index 493a204..b92449a 100644 --- a/proxywatchd.py +++ b/proxywatchd.py @@ -133,7 +133,7 @@ class WorkerJob(): recv = sock.recvline() # good data - if re.match('^(:|NOTICE)', recv, re.IGNORECASE): + if re.match('^(:|NOTICE|ERROR)', recv, re.IGNORECASE): duration = (time.time() - duration) if geolite and not self.country or self.country == 'unknown' or self.country == 'N/A':