From c3d451559a6e02b99a88aaebaaee767620d7f1cc Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 28 May 2014 09:13:34 +0200 Subject: [PATCH] bindings/python: fix conversion of unicode value to UTF-8 for setters --- bindings/python/lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/lang.py b/bindings/python/lang.py index c695518e..f56c731e 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -418,7 +418,7 @@ if WSF_SUPPORT: print >> fd, ' return t;' # setter print >> fd, ' def set_%s(self, value):' % mname - if is_int(m, self.binding_data) or is_xml_node(m) or is_cstring(m) or is_boolean(m): + if is_int(m, self.binding_data) or is_xml_node(m) or is_boolean(m): pass elif is_cstring(m): print >> fd, ' value = str2lasso(value)'