Flatten the post data.
[audio.git] / src / youtube / management / commands / youtube.py
index 4277818..fd50e0c 100644 (file)
@@ -12,7 +12,7 @@ class Command(BaseCommand):
 
     def handle(self, *args, **options):
         for audiobook in (
 
     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"]]
         ):
             .exclude(youtube_queued=None)
             .order_by("youtube_queued")[: options["limit"]]
         ):