forked from Ponysearch/Ponysearch
[mod] remove check of Python 2.
This commit is contained in:
parent
aedf0aa5fe
commit
15567955b4
1 changed files with 0 additions and 4 deletions
|
@ -129,10 +129,6 @@ else:
|
||||||
setproctitle.setthreadtitle(self._name)
|
setproctitle.setthreadtitle(self._name)
|
||||||
threading.Thread.__init__ = new_thread_init
|
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')
|
logger = logger.getChild('webapp')
|
||||||
|
|
||||||
# check secret_key
|
# check secret_key
|
||||||
|
|
Loading…
Reference in a new issue