diff options
Diffstat (limited to 'lib/elements/polyline.py')
| -rw-r--r-- | lib/elements/polyline.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/elements/polyline.py b/lib/elements/polyline.py index b9ffdc0b..d3242795 100644 --- a/lib/elements/polyline.py +++ b/lib/elements/polyline.py @@ -21,13 +21,13 @@ class Polyline(EmbroideryElement): @property def points(self): - # example: "1,2 0,0 1.5,3 4,2" + # example: "1,2 0,0 1.5,3 4,2" - points = self.node.get('points') - points = points.split(" ") - points = [[float(coord) for coord in point.split(",")] for point in points] + points = self.node.get('points') + points = points.split(" ") + points = [[float(coord) for coord in point.split(",")] for point in points] - return points + return points @property @cache |
