소스 검색

If this chain was in a group, the args from the group are already on self

Aaron McMillin 10 년 전
부모
커밋
00551933e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/canvas.py

+ 1 - 1
celery/canvas.py

@@ -407,7 +407,7 @@ class chain(Signature):
 
     def freeze(self, _id=None, group_id=None, chord=None, root_id=None):
         _, results = self._frozen = self.prepare_steps(
-            (), self.tasks, root_id, None, self.app, _id, group_id, chord,
+            self.args, self.tasks, root_id, None, self.app, _id, group_id, chord,
         )
         return results[-1]