diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-04-04 10:10:57 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-04-04 10:10:57 +0300 |
commit | 3f924e3e2ef7a1c371901bb84705117627492f02 (patch) | |
tree | f76212d79497692340fed189f7abf31916568851 | |
parent | 98d34e9f37e924266f59352c3197a761a7389b15 (diff) | |
download | py-gsxws-3f924e3e2ef7a1c371901bb84705117627492f02.tar.gz py-gsxws-3f924e3e2ef7a1c371901bb84705117627492f02.tar.bz2 py-gsxws-3f924e3e2ef7a1c371901bb84705117627492f02.zip |
Convert to hashlib
-rwxr-xr-x | gsxws.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -928,7 +928,8 @@ def connect( LOCALE = LOCALE md5 = hashlib.md5() - cache_key = md5.update(user_id + str(sold_to)).hexdigest() + md5.update(user_id + str(sold_to)) + cache_key = md5.hexdigest() if CACHE.get(cache_key) is not None: SESSION = CACHE.get(cache_key) |