summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.py b/lib/output.py
index 0958a6a2..21622765 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.encode("UTF-8"), settings)
+ pyembroidery.write(pattern, file_path, settings)
except IOError as e:
# L10N low-level file error. %(error)s is (hopefully?) translated by
# the user's system automatically.