aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gsxws/objectify.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsxws/objectify.py b/gsxws/objectify.py
index 007a523..0fe2e1f 100644
--- a/gsxws/objectify.py
+++ b/gsxws/objectify.py
@@ -92,7 +92,8 @@ class GsxElement(objectify.ObjectifiedElement):
if isinstance(result, objectify.StringElement):
name = result.tag
- result = result.text
+ result = result.text or ''
+ result = unicode(result)
if not result:
return