Filtering is now case insensitive

This commit is contained in:
Amber 2022-03-27 12:17:49 -05:00
parent 9f1163eda0
commit ad6eafa05e
1 changed files with 1 additions and 1 deletions

View File

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