Suunto import: fix weight import

Suunto apparently has a typo in their SDE format. Let's import also
WEIGTH :D

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2019-05-09 06:50:03 +03:00 committed by Robert C. Helling
parent 00ec824129
commit fade17d16b

View file

@ -84,10 +84,10 @@
</xsl:otherwise>
</xsl:choose>
<xsl:if test="WEIGHT != ''">
<xsl:if test="WEIGHT|WEIGTH != ''">
<weightsystem>
<xsl:attribute name="weight">
<xsl:value-of select="concat(translate(WEIGHT, ',', '.'), ' kg')"/>
<xsl:value-of select="concat(translate(WEIGHT|WEIGTH, ',', '.'), ' kg')"/>
</xsl:attribute>
</weightsystem>
</xsl:if>