mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 00:03:28 +01:00
Account for failed chunks in completeness checks
This commit is contained in:
parent
04ee928f52
commit
5ec70adfce
@ -1478,7 +1478,7 @@ def encoding_file_save(sender, instance, created, **kwargs):
|
||||
break
|
||||
|
||||
for chunk in chunks:
|
||||
if not (chunk.media_file and chunk.media_file.path) or chunk.status != "success":
|
||||
if not (chunk.media_file and chunk.media_file.path) or not (chunk.status in ["fail", "success"]):
|
||||
complete = False
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user