From 731ac2868e30dbccf5771abf79564d8bab1156c2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 27 Jul 2025 07:28:20 +0200 Subject: rename pyembroidery to pystitch (#3889) ... and remove it as a submodule (use pip to install) --- lib/extensions/apply_threadlist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/extensions/apply_threadlist.py') diff --git a/lib/extensions/apply_threadlist.py b/lib/extensions/apply_threadlist.py index 5b831ff5..d01bd8e2 100644 --- a/lib/extensions/apply_threadlist.py +++ b/lib/extensions/apply_threadlist.py @@ -10,7 +10,7 @@ from typing import List, Optional import inkex -import pyembroidery +import pystitch from ..i18n import _ from ..svg.tags import INKSTITCH_ATTRIBS @@ -105,7 +105,7 @@ class ApplyThreadlist(InkstitchExtension): def parse_color_format(self, path: str) -> List[List[Optional[str]]]: colors = [] - threads = pyembroidery.read(path).threadlist + threads = pystitch.read(path).threadlist for color in threads: if color.description is not None and color.description.startswith("Cut"): # there is a maximum of 4 needles, we can simply take the last element from the description string -- cgit v1.2.3