소스 검색

Merge branch 'master' of https://github.com/swimIan/craftbeerpi3

tags/3.1_alpha
swimIan 8 년 전
부모
커밋
98fbcaf910
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py 파일 보기

@@ -65,8 +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}})


불러오는 중...
취소
저장