Browse Source

Fixes indentation error for getmashintemp() function

pull/141/head
swimIan 8 years ago
parent
commit
6612f1e631
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/recipe_import/beerxml.py

+ 1
- 1
modules/recipe_import/beerxml.py View File

@@ -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]


Loading…
Cancel
Save