rename celery_init.py

This commit is contained in:
xucai
2024-06-12 19:48:28 +08:00
parent 3df745d1d2
commit ae2ded119f
5 changed files with 4 additions and 4 deletions

View File

@@ -229,7 +229,7 @@ def upload_remote():
def task_status():
"""Get celery job status."""
task_id = request.args.get("task_id")
from application.celery import celery
from application.celery_init import celery
task = celery.AsyncResult(task_id)
task_meta = task.info