From 3953293baef572808f9cd0ae8b805780b65859e7 Mon Sep 17 00:00:00 2001 From: aurium Date: Thu, 22 Jan 2009 21:31:31 +0000 Subject: [PATCH] force string argument to sys.stderr.write in method errormsg of inkex.py --- share/extensions/inkex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- 2.30.2