Filtering is now case insensitive
This commit is contained in:
parent
9f1163eda0
commit
ad6eafa05e
|
@ -62,7 +62,7 @@ def make_sentence(output, cfg):
|
|||
fp = open('./filter.txt')
|
||||
for word in fp:
|
||||
word = re.sub("\n", "", word)
|
||||
if word in sentence:
|
||||
if word.lower() in sentence:
|
||||
sentence=""
|
||||
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue