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)