From 644c645580509b29a2ca76ee8ddaad62c37f63e9 Mon Sep 17 00:00:00 2001 From: Kale Date: Mon, 2 Aug 2021 07:29:04 -0700 Subject: [PATCH 1/2] Update 'maker_domains.py' --- maker_domains.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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') From d8a8e070ea814eb0be1013e7c764d4a9e7cc5386 Mon Sep 17 00:00:00 2001 From: Kale Date: Mon, 2 Aug 2021 07:29:22 -0700 Subject: [PATCH 2/2] Update 'maker_rpz.py' --- maker_rpz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maker_rpz.py b/maker_rpz.py index 62b8236..74f575c 100644 --- a/maker_rpz.py +++ b/maker_rpz.py @@ -21,7 +21,7 @@ def RPZbuilding(excluded,incoming,output): 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(linecounter()) +' Rules\n') + f.write('; Rule Counter : ' + str(linecounter(incoming)) +' Rules\n') f.write('; Format : RPZ\n') f.write('; Licenses : MIT\n') f.write('; Compiled Date : ' + str(date) +'\n\n')