Merge pull request #5053 from tokejepsen/bugfix/extract_color_transcode

This commit is contained in:
Milan Kolar 2023-06-21 11:49:18 +02:00 committed by GitHub
commit a371c8a147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,6 +184,11 @@ class ExtractOIIOTranscode(publish.Extractor):
if tag == "review":
added_review = True
# If there is only 1 file outputted then convert list to
# string, cause that'll indicate that its not a sequence.
if len(new_repre["files"]) == 1:
new_repre["files"] = new_repre["files"][0]
new_representations.append(new_repre)
added_representations = True