Selaa lähdekoodia

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

tags/3.1_alpha
swimIan 8 vuotta sitten
vanhempi
commit
4d08b17abd
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py Näytä tiedosto

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



Loading…
Peruuta
Tallenna