X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/c00e6aa94827f4972dc33fa79a53b5d9a15a726e..3c7adf8af63a913089eb5ec736443ea0c59a8d68:/src/youtube/management/commands/youtube.py?ds=inline diff --git a/src/youtube/management/commands/youtube.py b/src/youtube/management/commands/youtube.py index 4277818..fd50e0c 100644 --- a/src/youtube/management/commands/youtube.py +++ b/src/youtube/management/commands/youtube.py @@ -12,7 +12,7 @@ class Command(BaseCommand): def handle(self, *args, **options): for audiobook in ( - Audiobook.objects.filter(status=status.QUEUED) + Audiobook.objects.filter(youtube_status=status.QUEUED) .exclude(youtube_queued=None) .order_by("youtube_queued")[: options["limit"]] ):