diff --git a/functions.py b/functions.py index 8fbcc22..17fd963 100755 --- a/functions.py +++ b/functions.py @@ -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: