Skip to content

Commit

Permalink
concat newline in jsonify
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Jan 3, 2018
1 parent a43a439 commit f7983ae
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 f7983ae

Please sign in to comment.