forked from 0x2620/pandora
add task for queued downloads
This commit is contained in:
parent
1ec69b9c05
commit
4d9e8a788a
3 changed files with 5 additions and 1 deletions
|
|
@ -91,6 +91,8 @@ class Task(models.Model):
|
|||
status = 'failed'
|
||||
elif self.item.rendered:
|
||||
status = 'finished'
|
||||
elif not self.item.files.count():
|
||||
status = 'queued'
|
||||
else:
|
||||
status = 'unknown'
|
||||
if status != self.status:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue