fix default argument

main
任晓磊 8 years ago
parent 191cc28543
commit 83f81b351d

@ -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)

Loading…
Cancel
Save