This commit is contained in:
swimIan
2017-07-15 22:26:08 -07:00
parent 15d7906850
commit ed9bbed084
+1
View File
@@ -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}})