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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/input.py b/lib/extensions/input.py
index 975ba838..0ca85df5 100644
--- a/lib/extensions/input.py
+++ b/lib/extensions/input.py
@@ -33,7 +33,7 @@ class Input(object):
# rename the Stitch Plan layer so that it doesn't get overwritten by Embroider
layer = svg.find(".//*[@id='__inkstitch_stitch_plan__']")
- layer.set(INKSCAPE_LABEL, os.path.basename(embroidery_file))
+ layer.set(INKSCAPE_LABEL, os.path.basename(embroidery_file.decode("UTF-8")))
layer.attrib.pop('id')
# Shift the design so that its origin is at the center of the canvas