custom cells fix
parent
70e1def003
commit
9c509452bf
|
@ -522,13 +522,14 @@ class VSETB_OT_export_spreadsheet(Operator):
|
||||||
spreadsheet = project.spreadsheet_export
|
spreadsheet = project.spreadsheet_export
|
||||||
episode = settings.active_episode
|
episode = settings.active_episode
|
||||||
|
|
||||||
cells = [cell for cell in spreadsheet.cells if cell.enabled]
|
|
||||||
rows = []
|
rows = []
|
||||||
|
|
||||||
# Header
|
# Header
|
||||||
if spreadsheet.use_custom_cells:
|
if spreadsheet.use_custom_cells:
|
||||||
|
cells = [cell for cell in spreadsheet.cells if cell.enabled]
|
||||||
rows.append([cell.export_name for cell in cells])
|
rows.append([cell.export_name for cell in cells])
|
||||||
else:
|
else:
|
||||||
|
cells = spreadsheet.cells
|
||||||
rows.append([cell.name for cell in cells])
|
rows.append([cell.name for cell in cells])
|
||||||
|
|
||||||
separator = spreadsheet.separator.replace('\\n', '\n').replace('\\t', '\t').replace('\\r', '\r')
|
separator = spreadsheet.separator.replace('\\n', '\n').replace('\\t', '\t').replace('\\r', '\r')
|
||||||
|
|
Loading…
Reference in New Issue