fix lining error

This commit is contained in:
minoplhy 2021-08-08 16:14:58 +07:00
parent 164177ee1c
commit 91b6e70887

View File

@ -72,6 +72,7 @@ def filteringcon(filters_regex_one):
for i in range(len(file)):
file[i] = re.sub('\s\s+', ' ', file[i])
file[i] = re.sub('#..*', '', file[i])
file[i] = re.sub('CNAME . ;..*', '', file[i])
file[i] = re.sub(';..*', '', file[i])
with open(filters_regex_one, 'w') as f1:
f1.writelines(["%s\n" % item for item in file])