aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/core.py4
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)