浏览代码

Update beerxml.py

tags/3.1_alpha
swimIan 8 年前
父节点
当前提交
a368213cd1
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. +2
    -5
      modules/recipe_import/beerxml.py

+ 2
- 5
modules/recipe_import/beerxml.py 查看文件

@@ -65,11 +65,8 @@ class BeerXMLImport(FlaskView):
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}})


正在加载...
取消
保存