aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-07-28 17:32:23 -0400
committerBen Burwell <ben@benburwell.com>2019-07-28 17:32:37 -0400
commit9e8fca5d41748ed3a1f48aaa906d65dbe92bb77e (patch)
tree159c1dcee60b6ce263f032d21860db8f9c9b2d80
parentb97bb027da74d719b89815d3001062c8f6a9b1eb (diff)
fix kwargs
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 122e8c0..d6e4461 100644
--- a/app.py
+++ b/app.py
@@ -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 = []