From 83f81b351d5a62b016111c1742d0fa7dd2c772c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E6=99=93=E7=A3=8A?= Date: Fri, 12 Aug 2016 17:20:19 +0800 Subject: [PATCH] fix default argument --- rq/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/cli/cli.py b/rq/cli/cli.py index 0b3e611..b3573e9 100755 --- a/rq/cli/cli.py +++ b/rq/cli/cli.py @@ -37,7 +37,7 @@ config_option = click.option('--config', '-c', help='Module containing RQ settings.') -def connect(url, config=None, connection_class='redis.StrictRedis'): +def connect(url, config=None, connection_class=StrictRedis): if url: return connection_class.from_url(url)