From: aurium Date: Thu, 22 Jan 2009 21:31:31 +0000 (+0000) Subject: force string argument to sys.stderr.write in method errormsg of inkex.py X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3953293baef572808f9cd0ae8b805780b65859e7;p=inkscape.git force string argument to sys.stderr.write in method errormsg of inkex.py --- diff --git a/share/extensions/inkex.py b/share/extensions/inkex.py index 49f875ac2..0bc491539 100755 --- a/share/extensions/inkex.py +++ b/share/extensions/inkex.py @@ -81,7 +81,7 @@ def errormsg(msg): ... inkex.errormsg(_("This extension requires two selected paths.")) """ - sys.stderr.write((msg + "\n").encode("UTF-8")) + sys.stderr.write((str(msg) + "\n").encode("UTF-8")) def check_inkbool(option, opt, value): if str(value).capitalize() == 'True':