aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = []