summaryrefslogtreecommitdiff
path: root/lib/extensions/apply_threadlist.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-07-27 07:28:20 +0200
committerGitHub <noreply@github.com>2025-07-27 07:28:20 +0200
commit731ac2868e30dbccf5771abf79564d8bab1156c2 (patch)
tree29f3de6e7694b8ce1cac19756e4f143fd29e8bcd /lib/extensions/apply_threadlist.py
parent4dd03c18acbec4c44943c224ea9b66e262e9fd76 (diff)
rename pyembroidery to pystitch (#3889)
... and remove it as a submodule (use pip to install)
Diffstat (limited to 'lib/extensions/apply_threadlist.py')
-rw-r--r--lib/extensions/apply_threadlist.py4
1 files changed, 2 insertions, 2 deletions
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