diff --git a/maker_dnsmasq.py b/maker_dnsmasq.py index 5b3923c..b39838e 100644 --- a/maker_dnsmasq.py +++ b/maker_dnsmasq.py @@ -10,13 +10,13 @@ def linecounter(incoming): pass return i + 1 -def DNQbuilding(excluded ,incoming,Version): +def DNQbuilding(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')