From c2a876746e498d498c41ae946379209aefe86f32 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Wed, 29 Sep 2021 22:44:18 +0700 Subject: [PATCH] Dnsmasq and Unbound Fix --- maker_unbound.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maker_unbound.py b/maker_unbound.py index c6a63cd..3592053 100644 --- a/maker_unbound.py +++ b/maker_unbound.py @@ -10,13 +10,13 @@ def linecounter(incoming): pass return i + 1 -def UNBbuilding(excluded ,incoming,Version): +def UNBbuilding(excluded,incoming,output,Version): ankstanop = linecounter(incoming) with open(excluded ,'r') as f: exclude = f.read().split() with open(incoming ,'r') as f: lines = f.read().splitlines() # read lines - with open(incoming ,'w') as f: + with open(output ,'w') as f: f.write('# Title : Minoplhy Personal Blocklist\n') f.write('# Description : My Very Personal DNS Blocklist plus crawling from the source\n') f.write('# Source : Resources/Source.txt\n')