瀏覽代碼

Testing

tags/3.1_alpha
swimIan 8 年之前
父節點
當前提交
ed9bbed084
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
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}})


Loading…
取消
儲存