From 33c35cad796de192573ef8cb377e9c9dd0b11a68 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 4 Jun 2020 12:22:38 +0200 Subject: [PATCH] bugfix --- src/youtube/management/commands/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]] ): -- 2.20.1