Parcourir la source

Remove "Steps started on xml imported" bug

pull/194/head
swimIan Johannes il y a 7 ans
Parent
révision
efc85d65f7
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

@@ -90,6 +90,7 @@ class BeerXMLImport(FlaskView):
})
## Add Whirlpool step
Step.insert(**{"name": "Whirlpool", "type": "ChilStep", "config": {"timer": 15}})
StepView().reset()
self.api.emit("UPDATE_ALL_STEPS", Step.get_all())
self.api.notify(headline="Recipe %s loaded successfully" % name, message="")
except Exception as e:


Chargement…
Annuler
Enregistrer