keep transcribing taks status
This commit is contained in:
parent
d7fbea4a20
commit
3f0e08a142
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ class Task(models.Model):
|
|||
except Item.DoesNotExist:
|
||||
return False
|
||||
|
||||
if self.status == 'transcribing':
|
||||
return False
|
||||
|
||||
if self.item.files.filter(wanted=True, available=False).count():
|
||||
status = 'pending'
|
||||
elif self.item.files.filter(uploading=True).count():
|
||||
|
|
Loading…
Reference in a new issue