Parcourir la source

Testing

tags/3.1_alpha
swimIan il y a 8 ans
Parent
révision
ed9bbed084
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
modules/recipe_import/beerxml.py Voir le fichier

@@ -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}})


Chargement…
Annuler
Enregistrer