use task normed name
This commit is contained in:
@@ -428,7 +428,7 @@ class VSETB_OT_import_spreadsheet(Operator):
|
||||
|
||||
elif cell_type == 'TASK_TYPE':
|
||||
task_type = project.task_types[cell.import_name]
|
||||
task = getattr(strip_settings.tasks, task_type.name)
|
||||
task = getattr(strip_settings.tasks, norm_str(task_type.name))
|
||||
task.comment = cell_value
|
||||
|
||||
if cell_type == 'ASSET_TYPE' and spreadsheet.import_casting:
|
||||
@@ -605,7 +605,7 @@ class VSETB_OT_export_spreadsheet(Operator):
|
||||
row += [separator.join(asset_castings)]
|
||||
|
||||
elif cell.type == 'TASK_TYPE':
|
||||
row += [getattr(strip.vsetb_strip_settings.tasks, cell.name).comment]
|
||||
row += [getattr(strip.vsetb_strip_settings.tasks, norm_str(cell.name)).comment]
|
||||
|
||||
elif cell.field_name == 'EPISODE':
|
||||
row += [settings.active_episode.name]
|
||||
|
||||
Reference in New Issue
Block a user