diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-08-15 22:49:37 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-08-15 22:49:37 -0400 |
| commit | 1f7c6a6c291545c0e361c071b933310a670ae372 (patch) | |
| tree | 181a6381b08326f9d84583228ab0bb83237f2ee8 /lib/stitches | |
| parent | 0e18a82c65f179bfea503ddf7e75d37179e39014 (diff) | |
fix 'LineString has no method geoms' error
Diffstat (limited to 'lib/stitches')
| -rw-r--r-- | lib/stitches/auto_satin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
