From 15567955b4bd03dc9e848b263495e88720654283 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Tue, 8 Jun 2021 10:18:44 +0200 Subject: [PATCH] [mod] remove check of Python 2. --- searx/webapp.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 9c4c2a02..b6f0c28c 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