mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
fix lining error
This commit is contained in:
parent
164177ee1c
commit
91b6e70887
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user