Compare commits
2 Commits
4db02a61b1
...
06e2ed890a
Author | SHA1 | Date |
---|---|---|
Amber | 06e2ed890a | |
Amber | ad6eafa05e |
|
@ -62,7 +62,7 @@ def make_sentence(output, cfg):
|
||||||
fp = open('./filter.txt')
|
fp = open('./filter.txt')
|
||||||
for word in fp:
|
for word in fp:
|
||||||
word = re.sub("\n", "", word)
|
word = re.sub("\n", "", word)
|
||||||
if word in sentence:
|
if word.lower() in sentence:
|
||||||
sentence=""
|
sentence=""
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue