Update tasks.py

This commit is contained in:
tcely 2025-06-16 16:50:04 -04:00 committed by GitHub
parent 557538292c
commit a5509612d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,7 @@ from background_task import background
from background_task.exceptions import InvalidTaskError
from background_task.models import Task, CompletedTask
from django_huey import db_periodic_task, db_task, task as huey_task # noqa
from huey import CancelExecution
from common.huey import dynamic_retry
from common.huey import CancelExecution, dynamic_retry
from common.logger import log
from common.errors import ( BgTaskWorkerError, DownloadFailedException,
NoFormatException, NoMediaException,