mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update handling of missing otioReviewClips data
- Handle case where otioReviewClips is missing by logging a message.
This commit is contained in:
parent
46c6511c50
commit
a7908a46e9
1 changed files with 4 additions and 1 deletions
|
|
@ -74,7 +74,10 @@ class ExtractOTIOReview(
|
|||
# TODO: what if handles are different in `versionData`?
|
||||
handle_start = instance.data["handleStart"]
|
||||
handle_end = instance.data["handleEnd"]
|
||||
otio_review_clips = instance.data["otioReviewClips"]
|
||||
otio_review_clips = instance.data.get("otioReviewClips")
|
||||
|
||||
if otio_review_clips is None:
|
||||
self.log.info(f"Instance `{instance}` has no otioReviewClips")
|
||||
|
||||
# add plugin wide attributes
|
||||
self.representation_files = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue