Remove str decode feature from TokenRedis class
This commit is contained in:
parent
4ecff119c4
commit
cc8fc489df
|
|
@ -154,6 +154,6 @@ class TokenRedis(object):
|
||||||
if stuff is None:
|
if stuff is None:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
combo = simplejson.loads(stuff.decode("utf-8"))
|
combo = simplejson.loads(stuff)
|
||||||
pair = combo["host"]
|
pair = combo["host"]
|
||||||
return pair.split(':')
|
return pair.split(':')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue