swimIan 8 lat temu
rodzic
commit
4d08b17abd
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      modules/recipe_import/beerxml.py

+ 2
- 2
modules/recipe_import/beerxml.py Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz