Browse Source

Forgot to import registry.tasks in execute

Ask Solem 16 năm trước cách đây
mục cha
commit
f533418f47
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      celery/execute.py

+ 1 - 0
celery/execute.py

@@ -2,6 +2,7 @@ from carrot.connection import DjangoAMQPConnection
 from celery.conf import AMQP_CONNECTION_TIMEOUT
 from celery.result import AsyncResult
 from celery.messaging import TaskPublisher
+from celery.registry import tasks
 from functools import partial as curry
 from datetime import datetime, timedelta