From fd6e43cf00548f78daf8ae855f691279e3c90a3b Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 9 Mar 2023 18:57:55 +0100 Subject: 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 --- lib/extensions/apply_threadlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/extensions/apply_threadlist.py') 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: -- cgit v1.2.3