fix ./manage.py extract_derivatives
This commit is contained in:
parent
001e85eea7
commit
0cb9ebda1f
1 changed files with 2 additions and 2 deletions
|
@ -23,6 +23,6 @@ class Command(BaseCommand):
|
||||||
def handle(self, **options):
|
def handle(self, **options):
|
||||||
for s in models.Stream.objects.filter(source=None):
|
for s in models.Stream.objects.filter(source=None):
|
||||||
if options['forground']:
|
if options['forground']:
|
||||||
extract_derivatives(s.item.id, options['rebuild'])
|
extract_derivatives(s.file.id, options['rebuild'])
|
||||||
else:
|
else:
|
||||||
extract_derivatives.delay(s.item.id, options['rebuild'])
|
extract_derivatives.delay(s.file.id, options['rebuild'])
|
||||||
|
|
Loading…
Reference in a new issue