|
@@ -29,7 +29,7 @@ class RedisClient(object):
|
|
|
"""
|
|
|
# if set connection_string, just use it
|
|
|
if connection_string:
|
|
|
- self.db = redis.StrictRedis.from_url(connection_string)
|
|
|
+ self.db = redis.StrictRedis.from_url(connection_string, decode_responses=True, **kwargs)
|
|
|
else:
|
|
|
self.db = redis.StrictRedis(
|
|
|
host=host, port=port, password=password, db=db, decode_responses=True, **kwargs)
|