Browse Source

also filter out ';; communications error...'

lennylxx 9 years ago
parent
commit
db4e01a0c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      update_hosts.py

+ 1 - 1
update_hosts.py

@@ -71,7 +71,7 @@ class worker_thread(threading.Thread):
                 if ret in blackhole or not ret:
                     ret = query_domain(domain, True)
 
-                if ret and ret[:24] != ';; connection timed out;':
+                if ret and ret[:2] != ';;':
                     flag = True
                     arr[0] = ret