Remove another Python 2.6 hack
parent
8efdc43177
commit
a1ce6d9513
|
|
@ -669,8 +669,7 @@ def create_app(app_name=None):
|
|||
##########################################################################
|
||||
# Minify output
|
||||
##########################################################################
|
||||
# HTMLMIN doesn't work with Python 2.6.
|
||||
if not config.DEBUG and sys.version_info >= (2, 7):
|
||||
if not config.DEBUG:
|
||||
from flask_htmlmin import HTMLMIN
|
||||
HTMLMIN(app)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue