Merge pull request 'Filtering is now case insensitive' (#2) from dev into master

Reviewed-on: #2
This commit is contained in:
Amber 2022-03-27 17:20:10 +00:00
commit 06e2ed890a
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: