summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2017-03-23 15:33:18 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-03-23 21:26:51 +0100
commit181c12ae04bac694a1a5534777bc91aa9ed8f89a (patch)
tree4f93b44dfd9c93013c378f119c8ac9ecbed413d4 /searx/webapp.py
parent9c0889a9424a711b965f1db766a5a5ada82bc23d (diff)
downloadsearxng-181c12ae04bac694a1a5534777bc91aa9ed8f89a.tar.gz
searxng-181c12ae04bac694a1a5534777bc91aa9ed8f89a.zip
[mod] upgrade requirements.txt
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 8124d5775..2aba4556d 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -70,14 +70,12 @@ from searx.plugins import plugins
from searx.preferences import Preferences, ValidationException
from searx.answerers import answerers
-# check if the pyopenssl, ndg-httpsclient, pyasn1 packages are installed.
-# They are needed for SSL connection without trouble, see #298
+# check if the pyopenssl package is installed.
+# It is 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"
+ logger.critical("The pyopenssl package has to be installed.\n"
"Some HTTPS connections will fail")
# serve pages with HTTP/1.1