forked from zaclys/searxng
		
	[fix] type error
This commit is contained in:
		
							parent
							
								
									43cd8e0c41
								
							
						
					
					
						commit
						7c9f931baf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -482,7 +482,7 @@ class Search(object): | |||
|             try: | ||||
|                 # 0 = None, 1 = Moderate, 2 = Strict | ||||
|                 request_params['safesearch'] = int(request.cookies.get('safesearch')) | ||||
|             except ValueError: | ||||
|             except Exception: | ||||
|                 request_params['safesearch'] = settings['search']['safe_search'] | ||||
| 
 | ||||
|             # update request parameters dependent on | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Tauber
						Adam Tauber