summaryrefslogtreecommitdiff
path: root/lib/extensions/apply_threadlist.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-03-09 18:57:55 +0100
committerGitHub <noreply@github.com>2023-03-09 18:57:55 +0100
commitfd6e43cf00548f78daf8ae855f691279e3c90a3b (patch)
tree44774d59038213fb81e8906e61dfbd309aa17da8 /lib/extensions/apply_threadlist.py
parentda1cd33f3b7fa6b85a6cdfcb855dc8a16cf3f92c (diff)
Various fixes (#2125)
* add unit info to scale value in ripple stitch * fix apply threadlist with empty description * fix satin type ripple with unequal nodes * fix legacy auto_fill conversion * inform about too small meander shapes
Diffstat (limited to 'lib/extensions/apply_threadlist.py')
-rw-r--r--lib/extensions/apply_threadlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/apply_threadlist.py b/lib/extensions/apply_threadlist.py
index e17b4a3c..a9a49b7a 100644
--- a/lib/extensions/apply_threadlist.py
+++ b/lib/extensions/apply_threadlist.py
@@ -106,7 +106,7 @@ class ApplyThreadlist(InkstitchExtension):
colors = []
threads = pyembroidery.read(path).threadlist
for color in threads:
- if color.description.startswith("Cut"):
+ 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
colors.append([color.hex_color(), color.description[-1]])
else: