Skip to content

Commit

Permalink
Fixed bug in README sample python code
Browse files Browse the repository at this point in the history
  • Loading branch information
letroot committed Jun 6, 2016
1 parent 5b93b79 commit f5f3077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def age_plus_five(request, client):
print my_dict, 'dict'
if 'age' in my_dict:
my_dict['age'] = int(my_dict['age']) + 5
return server.render(client, 'templates/passing_vars.html', my_dict)
return chapeau.render(client, 'templates/passing_vars.html', my_dict)
routing_dictionary = {
'/home' : 'templates/user_info.html',
'/welcome' : age_plus_five }
Expand Down

0 comments on commit f5f3077

Please sign in to comment.