diff options
| author | Rick Levine <rick@xoab.us> | 2023-02-08 16:29:16 -0800 |
|---|---|---|
| committer | Rick Levine <rick@xoab.us> | 2023-02-08 16:29:16 -0800 |
| commit | d2805f23de87d168d836d6bc4fabaa7023aba285 (patch) | |
| tree | d6c618e6093114f1b4d5d82b7592c1d64acbef4a | |
| parent | 31fbdf521b0e584ca3395e3827a6f2a02db688c1 (diff) | |
Set pattern.extras['name'] for .dst header
| -rw-r--r-- | lib/output.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.py b/lib/output.py index a6edfe86..0b9e4ad5 100644 --- a/lib/output.py +++ b/lib/output.py @@ -63,7 +63,7 @@ def write_embroidery_file(file_path, stitch_plan, svg, settings={}): pattern = pyembroidery.EmbPattern() # For later use when writing .dst header title field. - pattern.extras['filename'] = os.path.splitext(os.path.basename(file_path))[0] + pattern.extras['name'] = os.path.splitext(os.path.basename(file_path))[0] stitch = Stitch(0, 0) |
