Filtering is now case insensitive #2
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue