X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/c00e6aa94827f4972dc33fa79a53b5d9a15a726e..6eabd357bc96f9c952e759852b1a19d2c5cf6b83:/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"]] ):