Avoid ImportError

This commit is contained in:
tcely 2025-02-10 04:46:35 -05:00 committed by GitHub
parent 55637c2caf
commit 332f34c78e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,9 +4,6 @@ import yt_dlp
from common.logger import log
from django.conf import settings
from .models import Media
from .tasks import get_media_download_task
progress_hook = {
'status': dict(),
@ -18,6 +15,9 @@ postprocessor_hook = {
class BaseStatus:
from .models import Media
from .tasks import get_media_download_task
status_dict = dict()
valid = set()