Procházet zdrojové kódy

Update beerxml.py

tags/3.1_alpha
swimIan GitHub před 8 roky
rodič
revize
f60658c84e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py Zobrazit soubor

@@ -66,8 +66,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")}})
Step.insert(**{"name": "ChilStep", "type": "ChilStep", "config": {"timer": 15}})


Načítá se…
Zrušit
Uložit