Commit 7e15a695 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update report_tools to remove some JSON convertion.

parent 1eecff18
......@@ -198,7 +198,7 @@ class Graph(object):
config = metric2d.config
selector = metric2d.selector
selector.graph = json.loads(selector.graph)
selector.graph = selector.graph
config_graph = (selector.graph if selector.is_graph else config.graph)
......@@ -647,8 +647,8 @@ class Metric2D(BaseReport):
is_summary_x = selector.is_summary_x
is_summary_y = selector.is_summary_y
selector_x = json.loads(selector.summary_x)
selector_y = json.loads(selector.summary_y)
selector_x = selector.summary_x
selector_y = selector.summary_y
summary_x = (selector_x if is_summary_x else config_x)
summary_y = (selector_y if is_summary_y else config_y)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment