summaryrefslogtreecommitdiff
path: root/lib/output.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2019-07-02 18:12:20 +0200
committerGitHub <noreply@github.com>2019-07-02 18:12:20 +0200
commit4db305a36dd87dc9fc21034571eaebb078054bd3 (patch)
treee103d79fb8eb52f6554c72e9b69f46bc9b8106dd /lib/output.py
parente478ec10d898de2c0531a859d87873dc94d20998 (diff)
unicode export
Diffstat (limited to 'lib/output.py')
-rw-r--r--lib/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.py b/lib/output.py
index 21622765..0958a6a2 100644
--- a/lib/output.py
+++ b/lib/output.py
@@ -98,7 +98,7 @@ def write_embroidery_file(file_path, stitch_plan, svg, settings={}):
settings['explicit_trim'] = False
try:
- pyembroidery.write(pattern, file_path, settings)
+ pyembroidery.write(pattern, file_path.encode("UTF-8"), settings)
except IOError as e:
# L10N low-level file error. %(error)s is (hopefully?) translated by
# the user's system automatically.