Skip to content

Commit

Permalink
Fix compatibility issue with new redis-py
Browse files Browse the repository at this point in the history
Fixes #642
  • Loading branch information
coleifer committed Dec 3, 2021
1 parent ee6340a commit 906c67a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions huey/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,7 @@ def __init__(self, name='huey', blocking=True, read_timeout=1,
'"url", "connection_pool", or "connection_params"')

if url:
connection_pool = ConnectionPool.from_url(
url, decode_components=True)
connection_pool = ConnectionPool.from_url(url)
elif connection_pool is None:
connection_pool = ConnectionPool(**connection_params)

Expand Down

0 comments on commit 906c67a

Please sign in to comment.