From d2805f23de87d168d836d6bc4fabaa7023aba285 Mon Sep 17 00:00:00 2001 From: Rick Levine Date: Wed, 8 Feb 2023 16:29:16 -0800 Subject: Set pattern.extras['name'] for .dst header --- lib/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3