From ed9bbed0843f6ab70e8a4a605b712c40a82e36d2 Mon Sep 17 00:00:00 2001 From: swimIan Date: Sat, 15 Jul 2017 22:26:08 -0700 Subject: [PATCH] Testing --- modules/recipe_import/beerxml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/recipe_import/beerxml.py b/modules/recipe_import/beerxml.py index 8a1f0c3..6ba298c 100644 --- a/modules/recipe_import/beerxml.py +++ b/modules/recipe_import/beerxml.py @@ -69,6 +69,7 @@ class BeerXMLImport(FlaskView): ## 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")}}) Step.insert(**{"name": "ChilStep", "type": "ChilStep", "config": {"timer": 15}})