Fix export csv
This commit is contained in:
@@ -311,12 +311,14 @@ class Project(PropertyGroup):
|
||||
|
||||
def set_spreadsheet(self):
|
||||
|
||||
|
||||
cell_names = ['Sequence', 'Shot', 'Nb Frames', 'Description']
|
||||
if self.type == 'TVSHOW':
|
||||
cell_names.insert(0, 'Episode')
|
||||
|
||||
# Export SpreadSheet
|
||||
spreadsheet = self.spreadsheet_export
|
||||
spreadsheet.cells.clear()
|
||||
for cell_name in cell_names:
|
||||
cell = spreadsheet.cells.add()
|
||||
cell.name = cell_name
|
||||
|
||||
Reference in New Issue
Block a user