summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-01-28 15:52:50 +0100
committerAdam Tauber <asciimoo@gmail.com>2020-01-28 15:52:50 +0100
commit8e3bd3fcbd3a075f4c7edbd0175ae3dc5a87da53 (patch)
tree8c6382887faeabeb7f8f77c46095199e1f5f8324
parent54675c7690bdd00388636caea663ae09b5910d6c (diff)
downloadsearxng-8e3bd3fcbd3a075f4c7edbd0175ae3dc5a87da53.tar.gz
searxng-8e3bd3fcbd3a075f4c7edbd0175ae3dc5a87da53.zip
[mod] add py2 deprecation warning to webapp
-rw-r--r--searx/webapp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 212c874c9..aadefe6b9 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -95,6 +95,8 @@ if sys.version_info[0] == 3:
PY3 = True
else:
PY3 = False
+ logger.warning('\033[1;31m *** Deprecation Warning ***\033[0m')
+ logger.warning('\033[1;31m Python2 is deprecated\033[0m')
# serve pages with HTTP/1.1
from werkzeug.serving import WSGIRequestHandler