diff options
Diffstat (limited to 'gsxws/objectify.py')
-rw-r--r-- | gsxws/objectify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws/objectify.py b/gsxws/objectify.py index 0fe2e1f..6347eb1 100644 --- a/gsxws/objectify.py +++ b/gsxws/objectify.py @@ -82,10 +82,10 @@ class GsxElement(objectify.ObjectifiedElement): """ The XML returned by GSX can be pretty inconsistent, especially between the different environments. It's therefore more - practical to return None than to expect AttributeErrors all + practical to return and empty string than to expect AttributeErrors all over your application. """ - return + return '' if isinstance(result, objectify.NumberElement): return result.pyval |