Disable pretty printing of JSON, since it can break Docker CLI

This commit is contained in:
Joseph Schorr 2014-02-05 17:00:33 -05:00
parent 8b8084f484
commit 4c9a1c1621

View file

@ -4,6 +4,8 @@ import os
from app import app as application from app import app as application
from data.model import db as model_db from data.model import db as model_db
# Turn off pretty printing of JSON responses since it can break Docker.
application.config['JSONIFY_PRETTYPRINT_REGULAR'] = False
# Initialize logging # Initialize logging
application.config['LOGGING_CONFIG']() application.config['LOGGING_CONFIG']()