From 4c9a1c1621f80c85e0256b854602d9146e41b740 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 5 Feb 2014 17:00:33 -0500 Subject: [PATCH] Disable pretty printing of JSON, since it can break Docker CLI --- application.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application.py b/application.py index 80411d50f..f15925b7e 100644 --- a/application.py +++ b/application.py @@ -4,6 +4,8 @@ import os from app import app as application 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 application.config['LOGGING_CONFIG']()