Increase minimum search score to prevent tons of false positives
Signed-off-by: Ivan Boothe <ivan@rootwork.org>
This commit is contained in:
		
							parent
							
								
									d225b02bc9
								
							
						
					
					
						commit
						3e31914eae
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								main.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -79,7 +79,7 @@ class KeywordQueryEventListener(EventListener):
 | 
			
		|||
        items = []
 | 
			
		||||
        arg = event.get_argument()
 | 
			
		||||
        if arg:
 | 
			
		||||
            result_list = SortedList(arg, min_score=40, limit=10)
 | 
			
		||||
            result_list = SortedList(arg, min_score=99, limit=10)
 | 
			
		||||
            result_list.extend(extension.character_list)
 | 
			
		||||
            for char in result_list:
 | 
			
		||||
                image_path = get_character_icon(char)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue