diff --git a/django_q/cluster.py b/django_q/cluster.py index cb3dbd7..3bc443b 100644 --- a/django_q/cluster.py +++ b/django_q/cluster.py @@ -359,7 +359,7 @@ def worker(task_queue, result_queue, timer, timeout=Conf.TIMEOUT): # Get the function from the task logger.info(_('{} processing [{}]').format(name, task['name'])) f = task['func'] - # if it's not an instance try to get it from the stringIncrement + # if it's not an instance try to get it from the string if not callable(task['func']): try: module, func = f.rsplit('.', 1)