Skip to content

Commit

Permalink
fix default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
任晓磊 committed Aug 12, 2016
1 parent 191cc28 commit 83f81b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rq/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
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)

Expand Down

0 comments on commit 83f81b3

Please sign in to comment.