Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
I'm an idiot.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
10se1ucgo committed Aug 24, 2015
1 parent 27a841b commit 0d1ac5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0d1ac5e

Please sign in to comment.