summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-08 10:18:44 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-08 15:54:11 +0200
commit15567955b4bd03dc9e848b263495e88720654283 (patch)
tree95e2811711ac10e541423e5902dcc5e273ebd1ad /searx
parentaedf0aa5feda5c7a944e7d057de7e948eaf84df5 (diff)
downloadsearxng-15567955b4bd03dc9e848b263495e88720654283.tar.gz
searxng-15567955b4bd03dc9e848b263495e88720654283.zip
[mod] remove check of Python 2.
Diffstat (limited to 'searx')
-rwxr-xr-xsearx/webapp.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 9c4c2a020..b6f0c28c2 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -129,10 +129,6 @@ else:
setproctitle.setthreadtitle(self._name)
threading.Thread.__init__ = new_thread_init
-if sys.version_info[0] < 3:
- print('\033[1;31m Python2 is no longer supported\033[0m')
- sys.exit(1)
-
logger = logger.getChild('webapp')
# check secret_key