Explorar el Código

Fixes indentation error for getmashintemp() function

pull/141/head
swimIan hace 8 años
padre
commit
6612f1e631
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      modules/recipe_import/beerxml.py

+ 1
- 1
modules/recipe_import/beerxml.py Ver fichero

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

def getMashinTemp(self, id):
def getMashinTemp(self, id):
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]


Cargando…
Cancelar
Guardar