From a1ce6d95135f0e6f9bfe8083b60714135abcfe7e Mon Sep 17 00:00:00 2001 From: Cyril Jouve Date: Thu, 7 Feb 2019 10:32:40 +0000 Subject: [PATCH] Remove another Python 2.6 hack --- web/pgadmin/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/pgadmin/__init__.py b/web/pgadmin/__init__.py index 49e76d008..bfe7e041d 100644 --- a/web/pgadmin/__init__.py +++ b/web/pgadmin/__init__.py @@ -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)