Update 'maker_domains.py'

This commit is contained in:
Kale 2021-08-02 07:29:04 -07:00
parent 24c483b156
commit 644c645580
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

@ -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')