Просмотр исходного кода

Update beerxml.py

tags/3.1_alpha
swimIan GitHub 8 лет назад
Родитель
Сommit
e750fbb70e
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py Просмотреть файл

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


Загрузка…
Отмена
Сохранить