Skip to content

Commit ad327b8

Browse files
fix: Remaining import of celery instance (#6783)
1 parent 905b0a2 commit ad327b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/celery_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def celery_task(task_id):
2020
state = TASK_RESULTS[task_id]['state']
2121
info = TASK_RESULTS[task_id]['result']
2222
else:
23-
from app.views.celery_ import celery
23+
from app.api.helpers.tasks import celery
2424
result = AsyncResult(id=task_id, app=celery)
2525
state = result.state
2626
info = result.info

0 commit comments

Comments
 (0)