diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-08-10 18:14:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-10 18:14:30 +0200 |
| commit | 107c547e6ef71c943ecf7ad2596b8f2a61eb9459 (patch) | |
| tree | 590f3a0dce87ef381215f18a10b9c4041606b6c0 /lib/elements | |
| parent | d6e20fae8a03ac162ae0c863fff06b5bd8b77902 (diff) | |
break apart and polyline issues (#1313)
Diffstat (limited to 'lib/elements')
| -rw-r--r-- | lib/elements/polyline.py | 2 |
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] |
