From: Radek Czajka Date: Thu, 4 Jun 2020 10:22:38 +0000 (+0200) Subject: bugfix X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/33c35cad796de192573ef8cb377e9c9dd0b11a68?ds=sidebyside bugfix --- 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"]] ):