summaryrefslogtreecommitdiff
path: root/lib/extensions/zip.py
diff options
context:
space:
mode:
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 24bfc633..9a13ca2d 100644
--- a/lib/extensions/zip.py
+++ b/lib/extensions/zip.py
@@ -54,8 +54,8 @@ class Zip(InkstitchExtension):
self.metadata = self.get_inkstitch_metadata()
collapse_len = self.metadata['collapse_len_mm']
min_stitch_len = self.metadata['min_stitch_len_mm']
- patches = self.elements_to_stitch_groups(self.elements)
- stitch_plan = stitch_groups_to_stitch_plan(patches, collapse_len=collapse_len, min_stitch_len=min_stitch_len)
+ stitch_groups = self.elements_to_stitch_groups(self.elements)
+ stitch_plan = stitch_groups_to_stitch_plan(stitch_groups, collapse_len=collapse_len, min_stitch_len=min_stitch_len)
ThreadCatalog().match_and_apply_palette(stitch_plan, self.get_inkstitch_metadata()['thread-palette'])
if self.options.x_repeats != 1 or self.options.y_repeats != 1: