diff --git a/tcxparser/tcxparser.py b/tcxparser/tcxparser.py index 82a48d3..bcd2115 100644 --- a/tcxparser/tcxparser.py +++ b/tcxparser/tcxparser.py @@ -26,7 +26,7 @@ def altitude_points(self): def position_values(self): return [ (float(pos.LatitudeDegrees.text), - float(pos.LongitudeDegrees.text)) + float(pos.LongitudeDegrees.text)) for pos in self.root.xpath('//ns:Trackpoint/ns:Position', namespaces={'ns': namespace})] def distance_values(self):