🐛 skip plugin if otioTimeline is missing

This commit is contained in:
Ondrej Samohel 2022-09-15 11:00:20 +02:00
parent 700dd5ebff
commit 7a5d20ffdb
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -16,6 +16,8 @@ class ExtractOTIOFile(publish.Extractor):
hosts = ["resolve", "hiero", "traypublisher"]
def process(self, instance):
if not instance.context.data.get("otioTimeline"):
return
# create representation data
if "representations" not in instance.data:
instance.data["representations"] = []