summaryrefslogtreecommitdiff
path: root/lib/elements/polyline.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 20:32:50 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 20:32:50 -0400
commit038875f876d79d0f1e971886fe42f5bee4f9f31e (patch)
tree296c60d3b490f988802f9bec884eed32dcbf9c0c /lib/elements/polyline.py
parentf26042f477f1520443b1d9dad0bb88ef3ad7ca47 (diff)
autopep8
Diffstat (limited to 'lib/elements/polyline.py')
-rw-r--r--lib/elements/polyline.py10
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