Compare commits

..

2 Commits

Author SHA1 Message Date
Amber 06e2ed890a Merge pull request 'Filtering is now case insensitive' (#2) from dev into master
Reviewed-on: #2
2022-03-27 17:20:10 +00:00
Amber ad6eafa05e Filtering is now case insensitive 2022-03-27 12:19:44 -05:00
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: