diff --git a/rq/scripts/__init__.py b/rq/scripts/__init__.py index d0c9b48..d02f26d 100644 --- a/rq/scripts/__init__.py +++ b/rq/scripts/__init__.py @@ -47,7 +47,7 @@ def setup_default_arguments(args, settings): def setup_redis(args): if args.url is not None: - redis_conn = redis.Redis.from_url(args.url, db=args.db) + redis_conn = redis.from_url(args.url, db=args.db) else: redis_conn = redis.Redis(host=args.host, port=args.port, db=args.db, password=args.password) diff --git a/setup.py b/setup.py index a5f989a..72131a6 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ def get_version(): def get_dependencies(): - deps = ['redis >= 2.6.2', 'times'] + deps = ['redis >= 2.4.13', 'times'] deps += ['logbook'] # should be soft dependency? if sys.version_info < (2, 7) or \ (sys.version_info >= (3, 0) and sys.version_info < (3, 1)):