Mercurial > hg > WSGraph
diff wsgraph/web.py @ 13:7459702bf574
mostly spacing fix + comment
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 10 Dec 2012 17:32:14 -0800 |
parents | 421d5119e324 |
children | 3d0430390e72 |
line wrap: on
line diff
--- a/wsgraph/web.py Mon Dec 10 17:30:44 2012 -0800 +++ b/wsgraph/web.py Mon Dec 10 17:32:14 2012 -0800 @@ -44,11 +44,12 @@ # use JSON formatter by default if graph_formatters is None: graph_formatters = {None: JSONGraphFormatter} - if node_formatters is None: + if node_formatters is None: node_formatters = {None: JSONFormatter} - if edge_formatters is None: + if edge_formatters is None: edge_formatters = {None: JSONFormatter} + # view formatters self.formatters = {GRAPH: graph_formatters, NODE: node_formatters, EDGE: edge_formatters}