Przeglądaj źródła

Remove "Steps started on xml imported" bug

pull/206/head
swimIan GitHub 7 lat temu
rodzic
commit
c1d94a8f61
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
modules/recipe_import/beerxml.py Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz