summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2018-11-23 22:09:40 +0100
committerGitHub <noreply@github.com>2018-11-23 22:09:40 +0100
commit8389d792adfd4d43785d3850e0558f2b386c7266 (patch)
treecf5433cb59eb9ab6301f5de23c0c5ae49880816e /lib
parent9255667a65923aad7c14caad13585eaa49c87fdd (diff)
Fix encoding
Diffstat (limited to 'lib')
-rw-r--r--lib/elements/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 78954683..d9867351 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -276,5 +276,5 @@ class EmbroideryElement(object):
def fatal(self, message):
# L10N used when showing an error message to the user such as "satin column: One or more of the rungs doesn't
# intersect both rails."
- print >> sys.stderr, self.node.get("id") + ":", _("error:"), message
+ print >> sys.stderr, self.node.get("id") + ":", _("error:"), message.encode("UTF-8")
sys.exit(1)