diff --git a/maker_domains.py b/maker_domains.py index 5a3374e..a46a2f6 100644 --- a/maker_domains.py +++ b/maker_domains.py @@ -12,8 +12,6 @@ def linecounter(incoming): pass return i + 1 -ankstanop = linecounter() - def domainsbuilding(excluded ,incoming): with open(excluded ,'r') as f: exclude = f.read().split() @@ -23,7 +21,7 @@ def domainsbuilding(excluded ,incoming): 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') - f.write('# Rule Counter : ' + str(ankstanop) +' Rules\n') + f.write('# Rule Counter : ' + str(linecounter(incoming)) +' Rules\n') f.write('# Format : Domains\n') f.write('# Licenses : MIT\n') f.write('# Compiled Date : ' + str(date) +'\n\n')