Sfoglia il codice sorgente

Remove "Steps started on xml imported" bug

pull/206/head
swimIan GitHub 7 anni fa
parent
commit
c1d94a8f61
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
modules/recipe_import/beerxml.py Vedi 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:


Loading…
Annulla
Salva