fix refacto
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user