diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2019-06-23 20:26:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-23 20:26:57 +0200 |
| commit | e478ec10d898de2c0531a859d87873dc94d20998 (patch) | |
| tree | ca3b5b531b40d7a750f9ecae14fd872c4c4cdc64 /lib/extensions/input.py | |
| parent | 9fccbb50334225217483639936e8f05912616be0 (diff) | |
fix unicode import (#482)
Diffstat (limited to 'lib/extensions/input.py')
| -rw-r--r-- | lib/extensions/input.py | 2 |
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 |
