proxywatchd.py: also accept "ERROR" as success message (heh)
This commit is contained in:
@@ -133,7 +133,7 @@ class WorkerJob():
|
|||||||
recv = sock.recvline()
|
recv = sock.recvline()
|
||||||
|
|
||||||
# good data
|
# good data
|
||||||
if re.match('^(:|NOTICE)', recv, re.IGNORECASE):
|
if re.match('^(:|NOTICE|ERROR)', recv, re.IGNORECASE):
|
||||||
duration = (time.time() - duration)
|
duration = (time.time() - duration)
|
||||||
|
|
||||||
if geolite and not self.country or self.country == 'unknown' or self.country == 'N/A':
|
if geolite and not self.country or self.country == 'unknown' or self.country == 'N/A':
|
||||||
|
|||||||
Reference in New Issue
Block a user