allow unicode filenames again

pull/509/head
Lex Neva 2019-08-03 23:20:55 -04:00
rodzic 363e052097
commit 09bf8bd1cb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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.