summaryrefslogtreecommitdiff
path: root/lib/extensions/zip.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2021-08-07 12:18:55 -0400
committerLex Neva <github.com@lexneva.name>2021-08-07 12:18:55 -0400
commit173548dee569b0503ba1ddeba5cb8aae74c44c46 (patch)
treec17c62c7f593524d3a72e668502506f1aebe5bd4 /lib/extensions/zip.py
parent4b9df25a9a0203072c6a47b9ce29505561463fbf (diff)
rename more patch references
Diffstat (limited to 'lib/extensions/zip.py')
-rw-r--r--lib/extensions/zip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/zip.py b/lib/extensions/zip.py
index 605b4573..3f81af71 100644
--- a/lib/extensions/zip.py
+++ b/lib/extensions/zip.py
@@ -16,7 +16,7 @@ import pyembroidery
from ..i18n import _
from ..output import write_embroidery_file
-from ..stitch_plan import patches_to_stitch_plan
+from ..stitch_plan import stitch_groups_to_stitch_plan
from ..threads import ThreadCatalog
from .base import InkstitchExtension
@@ -44,7 +44,7 @@ class Zip(InkstitchExtension):
self.metadata = self.get_inkstitch_metadata()
collapse_len = self.metadata['collapse_len_mm']
patches = self.elements_to_patches(self.elements)
- stitch_plan = patches_to_stitch_plan(patches, collapse_len=collapse_len)
+ stitch_plan = stitch_groups_to_stitch_plan(patches, collapse_len=collapse_len)
base_file_name = self.get_base_file_name()
path = tempfile.mkdtemp()