misc updates

This commit is contained in:
Paul 2016-02-09 11:21:09 +01:00
parent 3d08ee9451
commit 1088d74b46

View File

@ -55,8 +55,8 @@ blacklist_files = make_list(domain_files)
blacklist_cache = make_db(blacklist_files) blacklist_cache = make_db(blacklist_files)
while True: while True:
line = sys.stdin.readline().strip() l = sys.stdin.readline().strip()
outline = urlparse(line).netloc outline = urlparse(l).netloc
if line: if line:
if compare(outline,blacklist_cache,blacklists): if compare(outline,blacklist_cache,blacklists):
squid_response("OK") squid_response("OK")