summaryrefslogtreecommitdiff
path: root/lib/output.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2019-08-11 16:26:54 -0400
committerGitHub <noreply@github.com>2019-08-11 16:26:54 -0400
commitb05cc4a031fb4dace2eded97a3e44e86e2f79fe8 (patch)
tree3c2e1490a2b4a38e0c0b02682b76c0b50de2e383 /lib/output.py
parent077f7ea72ba38790bf030d3181c44787fef953b6 (diff)
parentdafc3b97822ac0e929655bfa73590209e3350c47 (diff)
Merge pull request #509 from inkstitch/lexelby/input-fixes
input: read STOP commands too
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 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.