Ver código fonte

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

Remove "Steps started on xml imported" bug
pull/220/head
Manuel83 GitHub 7 anos atrás
pai
commit
98409d9895
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      modules/recipe_import/beerxml.py

+ 1
- 0
modules/recipe_import/beerxml.py Ver arquivo

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


Carregando…
Cancelar
Salvar