|
@@ -70,14 +70,12 @@ from searx.plugins import plugins
|
|
|
from searx.preferences import Preferences, ValidationException
|
|
|
from searx.answerers import answerers
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
try:
|
|
|
import OpenSSL.SSL
|
|
|
- import ndg.httpsclient
|
|
|
- import pyasn1
|
|
|
except ImportError:
|
|
|
- logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
|
|
|
+ logger.critical("The pyopenssl package has to be installed.\n"
|
|
|
"Some HTTPS connections will fail")
|
|
|
|
|
|
|