X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/c00e6aa94827f4972dc33fa79a53b5d9a15a726e..1c72d045af4d7c5607a872a678eadec17498bd6d:/src/youtube/management/commands/youtube.py 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"]] ):