Explorar o código

[>3.1?] Chord did not set app correctly.

Ask Solem %!s(int64=9) %!d(string=hai) anos
pai
achega
bc40a250f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/canvas.py

+ 1 - 1
celery/canvas.py

@@ -857,7 +857,7 @@ class chord(Signature):
         Signature.__init__(
             self, task, args,
             dict(kwargs, header=_maybe_group(header, app),
-                 body=maybe_signature(body, app=self._app)), **options
+                 body=maybe_signature(body, app=app)), app=app, **options
         )
         self.subtask_type = 'chord'