|  | 
 |  | 
 | 
												
													
														| 64 |  from searx.query import Query
 | 64 |  from searx.query import Query
 | 
												
													
														| 65 |  from searx.autocomplete import searx_bang, backends as autocomplete_backends
 | 65 |  from searx.autocomplete import searx_bang, backends as autocomplete_backends
 | 
												
													
														| 66 |  from searx.plugins import plugins
 | 66 |  from searx.plugins import plugins
 | 
												
													
														| 67 | -from searx.preferences import Preferences
 |  | 
 | 
												
													
														|  | 
 | 67 | +from searx.preferences import Preferences, ValidationException
 | 
												
													
														| 68 |  
 | 68 |  
 | 
												
													
														| 69 |  # check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed.
 | 69 |  # check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed.
 | 
												
													
														| 70 |  # They are needed for SSL connection without trouble, see #298
 | 70 |  # They are needed for SSL connection without trouble, see #298
 |