From e8d97433ab1f937dfa3fedb0781960c427792fda Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 1 Aug 2021 18:17:19 +0700 Subject: [PATCH] domains counter fix --- maker-domains.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maker-domains.py b/maker-domains.py index 9dd0349..bf6b489 100644 --- a/maker-domains.py +++ b/maker-domains.py @@ -15,6 +15,8 @@ def linecounter(): pass return i + 1 +ankstanop = linecounter() + def domainsbuilding(): with open(excluded ,'r') as f: exclude = f.read().split() @@ -24,7 +26,7 @@ def domainsbuilding(): 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 : Domains\n') f.write('# Licenses : MIT\n') f.write('# Compiled Date : ' + str(date) +'\n\n')