summaryrefslogtreecommitdiff
path: root/lib/extensions/input.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extensions/input.py')
-rw-r--r--lib/extensions/input.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/extensions/input.py b/lib/extensions/input.py
index cb5ac452..e450bef6 100644
--- a/lib/extensions/input.py
+++ b/lib/extensions/input.py
@@ -28,12 +28,11 @@ class Input(object):
trim=(command == pyembroidery.TRIM))
extents = stitch_plan.extents
- svg = etree.Element("svg", nsmap=inkex.NSS, attrib=
- {
- "width": str(extents[0] * 2),
- "height": str(extents[1] * 2),
- "viewBox": "0 0 %s %s" % (extents[0] * 2, extents[1] * 2),
- })
+ svg = etree.Element("svg", nsmap=inkex.NSS, attrib={
+ "width": str(extents[0] * 2),
+ "height": str(extents[1] * 2),
+ "viewBox": "0 0 %s %s" % (extents[0] * 2, extents[1] * 2),
+ })
render_stitch_plan(svg, stitch_plan)
# rename the Stitch Plan layer so that it doesn't get overwritten by Embroider