diff --git a/flask_redis_sentinel.py b/flask_redis_sentinel.py index d8d9f7e..f87075c 100644 --- a/flask_redis_sentinel.py +++ b/flask_redis_sentinel.py @@ -156,6 +156,8 @@ def _strip_dict_prefix(orig, prefix): @staticmethod def _config_from_variables(config, the_class): args = inspect.getargspec(the_class.__init__).args + base_args = inspect.getargspec(redis.client.Redis.__init__).args + args.extend(base_args) args.remove('self') args.remove('host') args.remove('port')