mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Remove another Python 2.6 hack
This commit is contained in:
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
Block a user