From 671b2eeb4e846727c7e16b3cb2f5912e1a11de26 Mon Sep 17 00:00:00 2001 From: "christophe.seux" Date: Thu, 23 Jan 2025 20:11:13 +0100 Subject: [PATCH] install_module plugins properly --- operators/exports.py | 2 +- sequencer_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/operators/exports.py b/operators/exports.py index 9c3176d..0de6e3f 100644 --- a/operators/exports.py +++ b/operators/exports.py @@ -217,7 +217,7 @@ class VSETB_OT_export_edl(Operator): def execute(self, context): opentimelineio = install_module('opentimelineio') - opentimelineio = install_module('opentimelineio-plugins') + install_module('opentimelineio', package_name='opentimelineio-plugins') from opentimelineio.schema import (Clip, Timeline, Track, ExternalReference) from opentimelineio.opentime import (RationalTime, TimeRange) diff --git a/sequencer_utils.py b/sequencer_utils.py index 2720ee0..b40592f 100644 --- a/sequencer_utils.py +++ b/sequencer_utils.py @@ -326,7 +326,7 @@ def render_strip(strip, output, attributes=None): def import_edit(filepath, adapter="cmx_3600", channel='Shots', match_by='name'): opentimelineio = install_module('opentimelineio') - opentimelineio = install_module('opentimelineio-plugins') + install_module('opentimelineio', package_name='opentimelineio-plugins') from opentimelineio.schema import Clip