Fix export csv

This commit is contained in:
“christopheseux”
2023-06-21 11:14:56 +02:00
parent 4a2dc9e55e
commit 4ae3f978bc
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -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