aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgsxws.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws.py b/gsxws.py
index fcbb2b7..5f9d3ee 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -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)