Remove "Steps started on xml imported" bug

This commit is contained in:
swimIan
2018-08-03 09:12:45 -07:00
committed by GitHub
parent dd64f4ee16
commit c1d94a8f61
+1
View File
@@ -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: