mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-31 10:37:06 -04:00 
			
		
		
		
	[fix] language query string comparison
This commit is contained in:
		
							parent
							
								
									9b4d60972a
								
							
						
					
					
						commit
						9ede9b955d
					
				| @ -78,7 +78,7 @@ class Search(object): | ||||
|         query_parts = self.query.split() | ||||
|         modified = False | ||||
|         if query_parts[0].startswith(':'): | ||||
|             lang = query_parts[0][1:] | ||||
|             lang = query_parts[0][1:].lower() | ||||
| 
 | ||||
|             for lc in language_codes: | ||||
|                 lang_id, lang_name, country = map(str.lower, lc) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user