Some cleanups

This commit is contained in:
Armin Ronacher 2013-09-02 04:57:01 +06:00
parent 51d7c8de7d
commit 8f1dada542
3 changed files with 3 additions and 4 deletions

View file

@ -232,7 +232,7 @@ def jsonify(*args, **kwargs):
"""
indent = None
if current_app.config['JSONIFY_PRETTYPRINT_REGULAR'] \
and not request.is_xhr:
and not request.is_xhr:
indent = 2
return current_app.response_class(dumps(dict(*args, **kwargs),
indent=indent),