From 9e8fca5d41748ed3a1f48aaa906d65dbe92bb77e Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sun, 28 Jul 2019 17:32:23 -0400 Subject: fix kwargs --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- cgit v1.2.3