proxywatchd.py: also accept "ERROR" as success message (heh)

This commit is contained in:
Your Name
2021-05-02 16:11:57 +02:00
parent cae6f75643
commit 9a7a913401

View File

@@ -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':