Skip to content

Commit

Permalink
Fix native OTIO support detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-ynput committed Nov 14, 2024
1 parent b31a47e commit 982ecc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/ayon_resolve/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,10 @@ def export_timeline_otio_to_file(timeline, filepath):
"""
try:
from . import bmdvr

if bmdvr.EXPORT_OTIO is None:
raise AttributeError("Unsupported native Export OTIO")

timeline.Export(filepath, bmdvr.EXPORT_OTIO)

except Exception as error:
Expand Down

0 comments on commit 982ecc9

Please sign in to comment.