ソースを参照

Fixes indentation error for getmashintemp() function

pull/141/head
swimIan 8年前
コミット
6612f1e631
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      modules/recipe_import/beerxml.py

+ 1
- 1
modules/recipe_import/beerxml.py ファイルの表示

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


読み込み中…
キャンセル
保存