From 1f7c6a6c291545c0e361c071b933310a670ae372 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Thu, 15 Aug 2019 22:49:37 -0400 Subject: fix 'LineString has no method geoms' error --- lib/stitches/auto_satin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py index 75b13176..4ce356ce 100644 --- a/lib/stitches/auto_satin.py +++ b/lib/stitches/auto_satin.py @@ -201,7 +201,7 @@ class RunningStitch(object): # Technically a Stroke object's underlying path could have multiple # subpaths. We don't have a particularly good way of dealing with # that so we'll just use the first one. - self.path = path_or_stroke.shape.geoms[0] + self.path = shgeo.LineString(path_or_stroke.paths[0]) original_element = path_or_stroke else: self.path = path_or_stroke -- cgit v1.2.3