Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author10se1ucgo <hammaadu1@gmail.com>2015-08-25 01:08:53 +0300
committer10se1ucgo <hammaadu1@gmail.com>2015-08-25 01:08:53 +0300
commit0d1ac5ed516d5bb2a9f69e17334347651bed4d7f (patch)
treeff4e1934fa0b86636ea4c630591669d04e0d4257
parent27a841b6736ce1bb1d81b2a1fc3870b2bb501f6a (diff)
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.
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
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)