From c1d94a8f615c4a6f71e943c4d04d987bfb8f4700 Mon Sep 17 00:00:00 2001 From: swimIan Date: Fri, 3 Aug 2018 09:12:45 -0700 Subject: [PATCH] Remove "Steps started on xml imported" bug --- modules/recipe_import/beerxml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/recipe_import/beerxml.py b/modules/recipe_import/beerxml.py index f8001d5..5e39d11 100644 --- a/modules/recipe_import/beerxml.py +++ b/modules/recipe_import/beerxml.py @@ -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: