mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
Try to fix line
This commit is contained in:
parent
becc579aac
commit
8897e637b2
@ -49,7 +49,7 @@ def filteringcon(filters_regex_one):
|
||||
with open(filters_regex_one, 'r') as f:
|
||||
for line in f:
|
||||
for word in a:
|
||||
if word in line and not line.startswith('#') and line.startswith((tuple(a))) and not '.' in line:
|
||||
if word in line and not line.startswith('#') and line.startswith((tuple(word))):
|
||||
line = line.replace(word,'')
|
||||
else:
|
||||
line = line.replace(line, line)
|
||||
|
Loading…
Reference in New Issue
Block a user