Skip to content

Commit 221bd9d

Browse files
committed
Task must be instantiated
unbound method apply_async() must be called with CeleryHaystackSignalHandler instance as first argument (got tuple instance instead)
1 parent 07fff61 commit 221bd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

celery_haystack/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_update_task(task_path=None):
2020
except AttributeError:
2121
raise ImproperlyConfigured('Module "%s" does not define a "%s" '
2222
'class.' % (module, attr))
23-
return Task
23+
return Task()
2424

2525

2626
def enqueue_task(action, instance):

0 commit comments

Comments
 (0)