Merge pull request 'Filtering is now case insensitive' (#2) from dev into master
Reviewed-on: #2
This commit is contained in:
		
						commit
						06e2ed890a
					
				| 
						 | 
					@ -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