浏览代码

ResultSet: Results created from string now have the app properly set

Ask Solem 11 年之前
父节点
当前提交
4b084ba403
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/result.py

+ 1 - 1
celery/result.py

@@ -332,7 +332,7 @@ class ResultSet(ResultBase):
 
         """
         if isinstance(result, string_t):
-            result = AsyncResult(result)
+            result = self.app.AsyncResult(result)
         try:
             self.results.remove(result)
         except ValueError: