SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
Log an error if the ndg-httpsclient, pyopenssl and pyasn1 packages are not installed. See #298
Alexandre Flament187617498a0d
diff --git a/searx/webapp.py b/searx/webapp.pyindex 13c965e0d..38780220e 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -61,6 +61,16 @@ except:from sys import exitexit(1)+# check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed.+# They are needed for SSL connection without trouble, see #298+try:+ import OpenSSL.SSL # NOQA+ import ndg.httpsclient # NOQA+ import pyasn1 # NOQA+except ImportError:+ logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"+ "Some HTTPS connections will failed")+logger = logger.getChild('webapp')