From e750fbb70e3d08f9623c3b66bbe1f64883de6886 Mon Sep 17 00:00:00 2001 From: swimIan Date: Sat, 15 Jul 2017 22:38:42 -0700 Subject: [PATCH] Update beerxml.py --- modules/recipe_import/beerxml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/recipe_import/beerxml.py b/modules/recipe_import/beerxml.py index 6ba298c..442812f 100644 --- a/modules/recipe_import/beerxml.py +++ b/modules/recipe_import/beerxml.py @@ -67,8 +67,8 @@ class BeerXMLImport(FlaskView): try: - ## Add Mashin step - Step.insert(**{"name": "MashIn", "type": mashinstep_type, "config": {"kettle": mash_kettle, "temp": mashin_temp}}) + ## Add Mashin step + Step.insert(**{"name": "MashIn", "type": mashinstep_type, "config": {"kettle": mash_kettle, "temp": mashin_temp}}) for row in steps: Step.insert(**{"name": row.get("name"), "type": mashstep_type, "config": {"kettle": mash_kettle, "temp": float(row.get("temp")), "timer": row.get("timer")}})