fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c00e6aa
)
bugfix
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 4 Jun 2020 10:22:38 +0000
(12:22 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 4 Jun 2020 10:22:38 +0000
(12:22 +0200)
src/youtube/management/commands/youtube.py
patch
|
blob
|
history
diff --git
a/src/youtube/management/commands/youtube.py
b/src/youtube/management/commands/youtube.py
index
4277818
..
fd50e0c
100644
(file)
--- 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 (
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"]]
):