fix refacto

This commit is contained in:
Christophe SEUX
2023-05-03 14:40:07 +02:00
parent 0ebde5f713
commit f9384c3d89
6 changed files with 50 additions and 46 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class VSETB_OT_load_settings(Operator):
project = settings.active_project
if not prefs.config_path:
return
return {'FINISHED'}
addon_config = read_file(os.path.expandvars(prefs.config_path))
+2 -2
View File
@@ -5,10 +5,10 @@ import bpy
from bpy.types import Operator
from bpy.props import (CollectionProperty, BoolProperty, EnumProperty, StringProperty)
from vse_toolbox.constants import (EDITS, EDIT_SUFFIXES, MOVIES, MOVIE_SUFFIXES,
from vse_toolbox.constants import (EDITS, EDIT_SUFFIXES, MOVIES, MOVIE_SUFFIXES,
SOUNDS, SOUND_SUFFIXES)
from vse_toolbox.sequencer_utils import (clean_sequencer, import_edit, import_movie,
from vse_toolbox.sequencer_utils import (clean_sequencer, import_edit, import_movie,
import_sound, get_strips)
from vse_toolbox.bl_utils import get_scene_settings
+2 -2
View File
@@ -3,8 +3,8 @@ import bpy
from bpy.types import Operator
from bpy.props import (BoolProperty, StringProperty)
from vse_toolbox.sequencer_utils import (get_strips, rename_strips, set_channels,
get_channel_index, new_text_strip)
from vse_toolbox.sequencer_utils import (get_strips, rename_strips, set_channels,
get_channel_index, new_text_strip)
from vse_toolbox.bl_utils import get_scene_settings
+1 -1
View File
@@ -166,7 +166,7 @@ class VSETB_OT_export_spreadsheet(Operator):
spreadsheet = project.spreadsheet_export
episode = settings.active_episode
cells = [cell for cell in project.spreadsheet if cell.enabled]
cells = [cell for cell in spreadsheet.cells if cell.enabled]
rows = []
# Header