mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-10 02:55:27 +02:00
Remove "Steps started on xml imported" bug
This commit is contained in:
@@ -90,6 +90,7 @@ class BeerXMLImport(FlaskView):
|
|||||||
})
|
})
|
||||||
## Add Whirlpool step
|
## Add Whirlpool step
|
||||||
Step.insert(**{"name": "Whirlpool", "type": "ChilStep", "config": {"timer": 15}})
|
Step.insert(**{"name": "Whirlpool", "type": "ChilStep", "config": {"timer": 15}})
|
||||||
|
StepView().reset()
|
||||||
self.api.emit("UPDATE_ALL_STEPS", Step.get_all())
|
self.api.emit("UPDATE_ALL_STEPS", Step.get_all())
|
||||||
self.api.notify(headline="Recipe %s loaded successfully" % name, message="")
|
self.api.notify(headline="Recipe %s loaded successfully" % name, message="")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user