summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2019-07-28 10:02:28 +0200
committerGitHub <noreply@github.com>2019-07-28 10:02:28 +0200
commitd5e873f8c50789b94e24d27a30c72f65ba9c08a3 (patch)
treeffa31c0f808f67857cdf7f86ecd2a9da41590a06 /lib/elements/element.py
parent833a8a971d8a73fbc42468a89d083e37a0bd6d8d (diff)
parente81e819602a3823ec344d412ba2e5213349fb2c4 (diff)
Merge pull request #481
show various bugs the door
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 10b1852a..e85657cd 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -283,5 +283,6 @@ class EmbroideryElement(object):
# L10N used when showing an error message to the user such as
# "Some Path (path1234): error: satin column: One or more of the rungs doesn't intersect both rails."
- print >> sys.stderr, "%s: %s %s" % (name, _("error:"), message.encode("UTF-8"))
+ error_msg = "%s: %s %s" % (name, _("error:"), message)
+ print >> sys.stderr, "%s" % (error_msg.encode("UTF-8"))
sys.exit(1)