Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e693bcca authored by Adam Tauber's avatar Adam Tauber
Browse files

[mod] drop py2 support

parent 52eba0c7
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -99,9 +99,8 @@ if sys.version_info[0] == 3:
    unicode = str
    unicode = str
    PY3 = True
    PY3 = True
else:
else:
    PY3 = False
    logger.warning('\033[1;31m Python2 is no longer supported\033[0m')
    logger.warning('\033[1;31m *** Deprecation Warning ***\033[0m')
    exit(1)
    logger.warning('\033[1;31m Python2 is deprecated\033[0m')


# serve pages with HTTP/1.1
# serve pages with HTTP/1.1
from werkzeug.serving import WSGIRequestHandler
from werkzeug.serving import WSGIRequestHandler