Pārlūkot izejas kodu

Remove "Steps started on xml imported" bug

pull/194/head
swimIan Johannes pirms 7 gadiem
vecāks
revīzija
efc85d65f7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
modules/recipe_import/beerxml.py Parādīt failu

@@ -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:


Notiek ielāde…
Atcelt
Saglabāt