Correctly check whether sequence has any frames in the returned holes collection.

As per [`clique.Collection.holes` documentation](https://clique.readthedocs.io/en/stable/api_reference/collection.html#clique.collection.Collection.holes):
> Return Collection of missing indexes.
This commit is contained in:
Roy Nieterau 2025-04-23 20:05:59 +02:00
parent 62b835faf8
commit 80e0fa6b17

View file

@ -280,7 +280,7 @@ class ExtractOIIOTranscode(publish.Extractor):
collection = collections[0]
frames = list(collection.indexes)
if collection.holes():
if collection.holes().indexes:
return files_to_convert
frame_str = "{}-{}#".format(frames[0], frames[-1])