diff options
Diffstat (limited to 'gsxws/core.py')
-rw-r--r-- | gsxws/core.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gsxws/core.py b/gsxws/core.py index da82314..cb8f49d 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -436,15 +436,7 @@ class GsxRequestObject(GsxObject): class GsxSession(GsxObject): - userId = "" - password = "" - languageCode = "" - userTimeZone = "" - serviceAccountNo = "" - _cache = None - _cache_key = "" - _session_id = "" _namespace = "glob:" def __init__(self, user_id, password, sold_to, language, timezone): @@ -456,6 +448,8 @@ class GsxSession(GsxObject): self.userTimeZone = timezone self.serviceAccountNo = str(sold_to) + self._session_id = "" + md5 = hashlib.md5() md5.update(user_id + self.serviceAccountNo + GSX_ENV) |