mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	[fix] answer result type
This commit is contained in:
		
							parent
							
								
									3afc9c9c0b
								
							
						
					
					
						commit
						a59d171385
					
				@ -100,7 +100,7 @@ class ResultContainer(object):
 | 
				
			|||||||
                self.suggestions.add(result['suggestion'])
 | 
					                self.suggestions.add(result['suggestion'])
 | 
				
			||||||
                results.remove(result)
 | 
					                results.remove(result)
 | 
				
			||||||
            elif 'answer' in result:
 | 
					            elif 'answer' in result:
 | 
				
			||||||
                self.answers.add(result['suggestion'])
 | 
					                self.answers.add(result['answer'])
 | 
				
			||||||
                results.remove(result)
 | 
					                results.remove(result)
 | 
				
			||||||
            elif 'infobox' in result:
 | 
					            elif 'infobox' in result:
 | 
				
			||||||
                self._merge_infobox(result)
 | 
					                self._merge_infobox(result)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user