diff --git a/proxypool/storages/redis.py b/proxypool/storages/redis.py index 5ae145bc..8ab0e41d 100644 --- a/proxypool/storages/redis.py +++ b/proxypool/storages/redis.py @@ -29,7 +29,7 @@ def __init__(self, host=REDIS_HOST, port=REDIS_PORT, password=REDIS_PASSWORD, db """ # 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)