summaryrefslogtreecommitdiff
path: root/lib/output.py
diff options
context:
space:
mode:
authorRick Levine <rick@xoab.us>2023-02-08 16:29:16 -0800
committerRick Levine <rick@xoab.us>2023-02-08 16:29:16 -0800
commitd2805f23de87d168d836d6bc4fabaa7023aba285 (patch)
treed6c618e6093114f1b4d5d82b7592c1d64acbef4a /lib/output.py
parent31fbdf521b0e584ca3395e3827a6f2a02db688c1 (diff)
Set pattern.extras['name'] for .dst header
Diffstat (limited to 'lib/output.py')
-rw-r--r--lib/output.py2
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)