mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 18:30:55 +08:00
Fixes import problems in python 2.7
This commit is contained in:
@@ -71,5 +71,5 @@ def get_broker(list_key=Conf.Q_LIST):
|
||||
return disque.Disque(list_key=list_key)
|
||||
# default to redis
|
||||
else:
|
||||
from brokers import redis
|
||||
return redis.Redis(list_key=list_key)
|
||||
from brokers import redis_broker
|
||||
return redis_broker.Redis(list_key=list_key)
|
||||
|
||||
Reference in New Issue
Block a user