Skip to content

Commit

Permalink
Merge pull request #2577 from pallets/jsonify-str
Browse files Browse the repository at this point in the history
Use string concat in jsonify
  • Loading branch information
davidism authored Jan 3, 2018
2 parents a43a439 + f7983ae commit 2bec58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask/json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def get_current_user():
data = args or kwargs

return current_app.response_class(
(dumps(data, indent=indent, separators=separators), '\n'),
dumps(data, indent=indent, separators=separators) + '\n',
mimetype=current_app.config['JSONIFY_MIMETYPE']
)

Expand Down

0 comments on commit 2bec58f

Please sign in to comment.