mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-24 21:08:12 +08:00
Fixes typo in custom broker handler
This commit is contained in:
@@ -163,7 +163,7 @@ def get_broker(list_key=Conf.PREFIX):
|
||||
module, func = Conf.BROKER_CLASS.rsplit('.', 1)
|
||||
m = importlib.import_module(module)
|
||||
broker = getattr(m, func)
|
||||
return broker(list_key=list)
|
||||
return broker(list_key=list_key)
|
||||
# disque
|
||||
elif Conf.DISQUE_NODES:
|
||||
from brokers import disque
|
||||
|
||||
Reference in New Issue
Block a user