From 414a9df454c340f2b28fe60053ebba53b9931411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B8=A2=E4=BD=8E=E5=90=B8?= Date: Mon, 10 Jul 2023 07:56:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoBuild/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoBuild/builder.py b/AutoBuild/builder.py index f79eeb8..5c598f2 100644 --- a/AutoBuild/builder.py +++ b/AutoBuild/builder.py @@ -85,7 +85,7 @@ for category in filterlist: newdata = '\n'.join(data[5:]) desc = '\n'.join(x.replace('!', '#') for x in data[:5]) + '\n' - name = filename.split('.text')[0] + name = filename.split('.txt')[0] with open(name+'-domains.txt', 'w') as output: pattern = r'(?<=^\|\|)\S+\.\S{2,}(?=\^)' desc += '\n'.join(re.findall(pattern, newdata, re.MULTILINE))