diff options
-rw-r--r-- | gsxws/objectify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/objectify.py b/gsxws/objectify.py index 6347eb1..e310115 100644 --- a/gsxws/objectify.py +++ b/gsxws/objectify.py @@ -85,7 +85,7 @@ class GsxElement(objectify.ObjectifiedElement): practical to return and empty string than to expect AttributeErrors all over your application. """ - return '' + return None if isinstance(result, objectify.NumberElement): return result.pyval |