forked from 0x2620/pandora
encoding is not available
This commit is contained in:
parent
6a8e82fe0e
commit
14d147013d
1 changed files with 3 additions and 3 deletions
|
@ -341,14 +341,14 @@ class File(models.Model):
|
|||
if self.type != 'video':
|
||||
duration = None
|
||||
state = ''
|
||||
if self.available:
|
||||
state = 'available'
|
||||
elif self.encoding:
|
||||
if self.encoding:
|
||||
state = 'encoding'
|
||||
elif self.queued:
|
||||
state = 'queued'
|
||||
elif self.uploading:
|
||||
state = 'uploading'
|
||||
elif self.available:
|
||||
state = 'available'
|
||||
elif self.wanted:
|
||||
state = 'wanted'
|
||||
data = {
|
||||
|
|
Loading…
Reference in a new issue