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