diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-04-04 10:03:21 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-04-04 10:03:21 +0300 |
commit | 5dda20f7f03e1987033fa1a021197335617b23d3 (patch) | |
tree | f20ebf36e4b043767297ec131ede8d76f5d012e3 | |
parent | ae3069ee23473b5cc3573b5ab90fa4b026805c70 (diff) | |
download | py-gsxws-5dda20f7f03e1987033fa1a021197335617b23d3.tar.gz py-gsxws-5dda20f7f03e1987033fa1a021197335617b23d3.tar.bz2 py-gsxws-5dda20f7f03e1987033fa1a021197335617b23d3.zip |
Make sure session cache key consists of strings
-rwxr-xr-x | gsxws.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -928,7 +928,7 @@ def connect( SESSION = {} LOCALE = LOCALE - cache_key = md5.new(user_id + sold_to).hexdigest() + cache_key = md5.new(user_id + str(sold_to)).hexdigest() if CACHE.get(cache_key) is not None: SESSION = CACHE.get(cache_key) |