diff options
author | Ben Burwell <ben@benburwell.com> | 2019-07-28 17:32:23 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-07-28 17:32:37 -0400 |
commit | 9e8fca5d41748ed3a1f48aaa906d65dbe92bb77e (patch) | |
tree | 159c1dcee60b6ce263f032d21860db8f9c9b2d80 | |
parent | b97bb027da74d719b89815d3001062c8f6a9b1eb (diff) |
fix kwargs
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ def get_beer_details(brewery_id, beer_id): direction = request.form.get('direction') style = request.form.get('style') if attr != None and direction != None: - kwargs['attrs'] = attrs + kwargs['attr'] = attr kwargs['direction'] = direction attr_beers = translate_to_attr(full_id, attr, int(direction)) attr_beer_objects = [] |