Browse Source

[FIX] mis_builder: minor tweak to avoid empty style attributs in widget

pull/189/head
Stéphane Bidoul 9 years ago
parent
commit
585516b116
  1. 2
      mis_builder/models/mis_report.py

2
mis_builder/models/mis_report.py

@ -343,7 +343,7 @@ class KpiMatrix(object):
'parent_row_id': row.parent_row and id(row.parent_row) or None, 'parent_row_id': row.parent_row and id(row.parent_row) or None,
'description': row.description, 'description': row.description,
'comment': row.comment, 'comment': row.comment,
'style': row.style and row.style.to_css_style() or '',
'style': row.style and row.style.to_css_style() or None,
'cols': [] 'cols': []
} }
for cell in row.iter_cells(): for cell in row.iter_cells():

Loading…
Cancel
Save