mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #1782 from pypeclub/bugfix/otio_unrelated_error
Otio unrelated error on import
This commit is contained in:
commit
af62e10b74
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ try:
|
|||
import opentimelineio as otio
|
||||
from opentimelineio import opentime as _ot
|
||||
except ImportError:
|
||||
if not os.environ.get("AVALON_APP"):
|
||||
raise
|
||||
otio = discover_host_vendor_module("opentimelineio")
|
||||
_ot = discover_host_vendor_module("opentimelineio.opentime")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue