Ver código fonte

Merge branch 'master' of https://github.com/swimIan/craftbeerpi3

tags/3.1_alpha
swimIan 8 anos atrás
pai
commit
4d08b17abd
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py Ver arquivo

@@ -91,8 +91,8 @@ class BeerXMLImport(FlaskView):
return float(e.find('./RECIPE[%s]/BOIL_TIME' % (str(id))).text)

def getMashinTemp(self, id):
e = xml.etree.ElementTree.parse(self.BEER_XML_FILE).getroot()
return float('./RECIPE[%s]/MASH/MASH_STEPS/INFUSE_TEMP' % (str(id))).text)
e = xml.etree.ElementTree.parse(self.BEER_XML_FILE).getroot()
return float('./RECIPE[%s]/MASH/MASH_STEPS/INFUSE_TEMP' % (str(id))).text)

def getSteps(self, id):



Carregando…
Cancelar
Salvar