Просмотр исходного кода

updating to reflect remote branch

pull/143/head
swimIan 8 лет назад
Родитель
Сommit
f50c1c4f74
1 измененных файлов: 4 добавлений и 0 удалений
  1. +4
    -0
      modules/recipe_import/beerxml.py

+ 4
- 0
modules/recipe_import/beerxml.py Просмотреть файл

@@ -91,7 +91,11 @@ class BeerXMLImport(FlaskView):
e = xml.etree.ElementTree.parse(self.BEER_XML_FILE).getroot()
return float(e.find('./RECIPE[%s]/BOIL_TIME' % (str(id))).text)

<<<<<<< HEAD
def getMashinTemp(self, id):
=======
def getMashinTemp(self, id):
>>>>>>> 15a4f40339611ccf99c4e0db8a5f02c6f6c9b391
e = xml.etree.ElementTree.parse(self.BEER_XML_FILE).getroot()
tempstr = e.find('./RECIPE[%s]/MASH/MASH_STEPS/MASH_STEP/INFUSE_TEMP' % (str(id))).text
val = tempstr[:-1]


Загрузка…
Отмена
Сохранить