Explorar el Código

Update beerxml.py

tags/3.1_alpha
swimIan GitHub hace 8 años
padre
commit
e750fbb70e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py Ver fichero

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


Cargando…
Cancelar
Guardar