bindings/python: fix conversion of unicode value to UTF-8 for setters

This commit is contained in:
Benjamin Dauvergne 2014-05-28 09:13:34 +02:00
parent 7362567411
commit c3d451559a
1 changed files with 1 additions and 1 deletions

View File

@ -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)'