Преглед изворни кода

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: