Try to fix line

This commit is contained in:
minoplhy 2021-08-12 15:16:39 +07:00
parent becc579aac
commit 8897e637b2

View File

@ -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)