Don’t have a headers var anymore

This commit is contained in:
Joseph Schorr 2014-01-24 15:12:11 -05:00
parent fd4ac04b5a
commit 229eeec1be

View file

@ -28,5 +28,5 @@ def abort(status_code, message=None, **kwargs):
logger.error('Error %s: %s. Arguments: %s' % (status_code, message, request.view_args))
# Report the abort to the user.
flask_abort(make_response(HTTPException(message), status_code, headers))
flask_abort(make_response(HTTPException(message), status_code, {}))