Skip to content

Commit

Permalink
Update beerxml.py
Browse files Browse the repository at this point in the history
  • Loading branch information
swimIan committed Jul 16, 2017
1 parent e750fbb commit a368213
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/recipe_import/beerxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,8 @@ def load(self, id):
StepView().reset()

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}})
Expand Down

0 comments on commit a368213

Please sign in to comment.