summaryrefslogtreecommitdiff
path: root/lib/extensions/input.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-07-25 07:24:34 +0200
committerGitHub <noreply@github.com>2021-07-25 07:24:34 +0200
commit2f35a4a192eb6aa3b68b715da6c1ba984084e0e5 (patch)
tree7a28d41ff83730e3bf53ee65b315783497503cec /lib/extensions/input.py
parent36815f977d7236311e9b345c33fbc74390766385 (diff)
Fix Style Issues (#1154)
Co-authored-by: Lex Neva <github.com@lexneva.name>
Diffstat (limited to 'lib/extensions/input.py')
-rw-r--r--lib/extensions/input.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/input.py b/lib/extensions/input.py
index a0861bbc..a8b8bee3 100644
--- a/lib/extensions/input.py
+++ b/lib/extensions/input.py
@@ -47,7 +47,7 @@ class Input(object):
del stitch_plan.last_color_block[-1]
extents = stitch_plan.extents
- svg = etree.Element("svg", nsmap=inkex.NSS, attrib={
+ svg = inkex.SvgDocumentElement("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),