summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2020-04-28 22:05:22 +0200
committerGitHub <noreply@github.com>2020-04-28 22:05:22 +0200
commit588f0988171216ed4f6e0c681c869f17f7bfd62d (patch)
tree6d969aa069c9cd9f26460922196f3edea645ccb7
parentcb2b4e3522cb7f426ba5ad3e68deb9e6ccc581ec (diff)
encode exception header (#675)
-rw-r--r--inkstitch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/inkstitch.py b/inkstitch.py
index ff8f6c30..58d0f434 100644
--- a/inkstitch.py
+++ b/inkstitch.py
@@ -53,10 +53,10 @@ else:
print >> sys.stderr, shapely_errors.getvalue()
if exception:
- print >> sys.stderr, _("Ink/Stitch experienced an unexpected error.")
+ print >> sys.stderr, _("Ink/Stitch experienced an unexpected error.").encode("UTF-8")
print >> sys.stderr, _("If you'd like to help, please file an issue at "
"https://github.com/inkstitch/inkstitch/issues "
- "and include the entire error description below:"), "\n"
+ "and include the entire error description below:").encode("UTF-8"), "\n"
print >> sys.stderr, exception
sys.exit(1)
else: