forked from zaclys/searxng
		
	Merge pull request #825 from dalf/text_query_fix
[fix] searching for "!google_images text" doesn't work
This commit is contained in:
		
						commit
						9d9a592266
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -95,7 +95,7 @@ class RawTextQuery(object):
 | 
			
		|||
 | 
			
		||||
            # this force a engine or category
 | 
			
		||||
            if query_part[0] == '!' or query_part[0] == '?':
 | 
			
		||||
                prefix = query_part[1:].replace('-', ' ')
 | 
			
		||||
                prefix = query_part[1:].replace('-', ' ').replace('_', ' ')
 | 
			
		||||
 | 
			
		||||
                # check if prefix is equal with engine shortcut
 | 
			
		||||
                if prefix in engine_shortcuts:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue