From 741200cc8563f332d89cb162209cda889c5bb629 Mon Sep 17 00:00:00 2001 From: Vegard Vesterheim Date: Fri, 24 Nov 2017 15:26:29 +0100 Subject: [PATCH] Get spice time as well --- src/import.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/import.coffee b/src/import.coffee index d7fae94..8c7abc5 100644 --- a/src/import.coffee +++ b/src/import.coffee @@ -116,6 +116,8 @@ Brauhaus.Recipe.fromBeerXml = (xml) -> spice.weight = parseFloat spiceProperty.textContent when 'alpha' spice.aa = parseFloat spiceProperty.textContent + when 'time' + spice.time = parseFloat spiceProperty.textContent when 'use' spice.use = spiceProperty.textContent when 'form'