From af5e99249fc35880f0a8ba8f5a734ff4af3672c9 Mon Sep 17 00:00:00 2001 From: Ilan Date: Thu, 16 Jul 2015 20:47:14 +0200 Subject: [PATCH] Paste accidents happen --- django_q/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)