From 7dc6cdb5226b59a095c357862c3c8a14872e3978 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Mon, 2 Aug 2021 22:17:07 +0700 Subject: [PATCH] afaik --- maker_domains.py | 2 +- maker_rpz.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/maker_domains.py b/maker_domains.py index 5a3374e..31fd9f5 100644 --- a/maker_domains.py +++ b/maker_domains.py @@ -12,9 +12,9 @@ def linecounter(incoming): pass return i + 1 -ankstanop = linecounter() def domainsbuilding(excluded ,incoming): + ankstanop = linecounter(incoming) with open(excluded ,'r') as f: exclude = f.read().split() with open(incoming ,'r') as f: diff --git a/maker_rpz.py b/maker_rpz.py index 62b8236..cc6997f 100644 --- a/maker_rpz.py +++ b/maker_rpz.py @@ -13,6 +13,7 @@ def linecounter(incoming): return i + 1 def RPZbuilding(excluded,incoming,output): + ankstanop = linecounter(incoming) with open(excluded ,'r') as f: exclude = f.read().split() with open(incoming ,'r') as f: @@ -21,7 +22,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(ankstanop) +' Rules\n') f.write('; Format : RPZ\n') f.write('; Licenses : MIT\n') f.write('; Compiled Date : ' + str(date) +'\n\n')