diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-03-09 18:57:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-09 18:57:55 +0100 |
| commit | fd6e43cf00548f78daf8ae855f691279e3c90a3b (patch) | |
| tree | 44774d59038213fb81e8906e61dfbd309aa17da8 /lib/extensions | |
| parent | da1cd33f3b7fa6b85a6cdfcb855dc8a16cf3f92c (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')
| -rw-r--r-- | lib/extensions/apply_threadlist.py | 2 |
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: |
