Pārlūkot izejas kodu

Merge pull request #206 from swimIan/swimIan-patch-1

Remove "Steps started on xml imported" bug
pull/220/head
Manuel83 GitHub pirms 7 gadiem
vecāks
revīzija
98409d9895
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
modules/recipe_import/beerxml.py Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt