diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-21 20:32:50 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-21 20:32:50 -0400 |
| commit | 038875f876d79d0f1e971886fe42f5bee4f9f31e (patch) | |
| tree | 296c60d3b490f988802f9bec884eed32dcbf9c0c /lib/extensions/input.py | |
| parent | f26042f477f1520443b1d9dad0bb88ef3ad7ca47 (diff) | |
autopep8
Diffstat (limited to 'lib/extensions/input.py')
| -rw-r--r-- | lib/extensions/input.py | 11 |
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 |
