diff --git a/tubesync/sync/hooks.py b/tubesync/sync/hooks.py index 1200bb22..6060a3a6 100644 --- a/tubesync/sync/hooks.py +++ b/tubesync/sync/hooks.py @@ -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()