include download task
This commit is contained in:
parent
029bcfee29
commit
da89a9748a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Task(models.Model):
|
||||||
if active:
|
if active:
|
||||||
for queue in active:
|
for queue in active:
|
||||||
for job in active[queue]:
|
for job in active[queue]:
|
||||||
if job.get('name') in ('item.tasks.update_timeline', ):
|
if job.get('name') in ('item.tasks.update_timeline', 'archive.tasks.download_media'):
|
||||||
args = job.get('args', [])
|
args = job.get('args', [])
|
||||||
if args and args[0] == self.item.public_id:
|
if args and args[0] == self.item.public_id:
|
||||||
if job.get('time_start'):
|
if job.get('time_start'):
|
||||||
|
|
Loading…
Reference in a new issue