From 09bf8bd1cbe2c062ae395e3f19f6051b185f9e55 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sat, 3 Aug 2019 23:20:55 -0400 Subject: allow unicode filenames again --- lib/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/output.py') 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. -- cgit v1.2.3