summaryrefslogtreecommitdiff
path: root/lib/elements/polyline.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elements/polyline.py')
-rw-r--r--lib/elements/polyline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/polyline.py b/lib/elements/polyline.py
index 5ea00508..ead2c322 100644
--- a/lib/elements/polyline.py
+++ b/lib/elements/polyline.py
@@ -49,7 +49,7 @@ class Polyline(EmbroideryElement):
def points(self):
# example: "1,2 0,0 1.5,3 4,2"
- points = self.node.get('points')
+ points = self.node.get('points').strip()
points = points.split(" ")
points = [[float(coord) for coord in point.split(",")] for point in points]