mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
'.' line issue solved
This commit is contained in:
parent
f622286ae5
commit
780e96c9ff
@ -75,6 +75,7 @@ def filteringcon(filters_regex_one):
|
||||
file[i] = re.sub('#..*', '', file[i])
|
||||
file[i] = re.sub('CNAME . ;..*', '', file[i])
|
||||
file[i] = re.sub(';..*', '', file[i])
|
||||
file[i] = re.sub('\A^\.' ,'' ,file[i])
|
||||
with open(filters_regex_one, 'w') as f1:
|
||||
f1.writelines(["%s\n" % item for item in file])
|
||||
f.close()
|
||||
|
Loading…
Reference in New Issue
Block a user