Update beerxml.py

This commit is contained in:
swimIan
2017-07-15 21:54:46 -07:00
committed by GitHub
parent b4ddc60c07
commit f60658c84e
+2 -2
View File
@@ -66,8 +66,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")}})
Step.insert(**{"name": "ChilStep", "type": "ChilStep", "config": {"timer": 15}})