From 0d1ac5ed516d5bb2a9f69e17334347651bed4d7f Mon Sep 17 00:00:00 2001 From: 10se1ucgo Date: Mon, 24 Aug 2015 18:08:53 -0400 Subject: [PATCH] I'm an idiot. I added 0.0.0.0 to the list, and forgot to exclude it in the reversion process, so it assumed everything with 0.0.0.0 was a tracking domain added by by the script. --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 4dd2045..8e53f5c 100644 --- a/run.py +++ b/run.py @@ -267,7 +267,7 @@ def modifyhosts(extra, undo): try: with open(hostspath, 'r') as hostfile, open(hostspath + "temp", 'w') as tempfile: for line in hostfile: - if not any(domain in line for domain in normallist + extralist): + if not any(domain in line for domain in normallist[1:] + extralist): tempfile.write(line) os.remove(hostspath)