keep transcribing taks status

This commit is contained in:
j 2025-01-25 10:28:53 +05:30
parent d7fbea4a20
commit 3f0e08a142

View file

@ -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():