Skip to content

Commit

Permalink
add index number to format for python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jinpark committed Mar 29, 2015
1 parent 169c7e7 commit 921624a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Expand Up @@ -116,7 +116,7 @@ def bad_request(bad_var_name="", error=None):
bad_var_name = ""
message = {
'status': 400,
'message': 'Bad request: {} is not valid'.format(bad_var_name),
'message': 'Bad request: {0} is not valid'.format(bad_var_name),
}
resp = jsonify(message)
resp.status_code = 400
Expand Down

0 comments on commit 921624a

Please sign in to comment.