From 585516b11685710127d0ea6a8693e9ad882c513e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 11 May 2016 14:01:55 +0200 Subject: [PATCH] [FIX] mis_builder: minor tweak to avoid empty style attributs in widget --- mis_builder/models/mis_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/mis_report.py b/mis_builder/models/mis_report.py index d71758df..a993a5c3 100644 --- a/mis_builder/models/mis_report.py +++ b/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, 'description': row.description, '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': [] } for cell in row.iter_cells():