diff options
-rw-r--r-- | gsxws/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws/core.py b/gsxws/core.py index 15a5c62..f2d5324 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -124,8 +124,8 @@ def get_format(locale=GSX_LOCALE): class GsxError(Exception): def __init__(self, message=None, xml=None, url=None): - if message is not None: - self.message = message + self.code = "" + self.message = message if xml is not None: logging.debug(url) |