From 9a7a3afcb949ebe807965d154c00836c462177ff Mon Sep 17 00:00:00 2001 From: EUcancER Date: Thu, 1 Sep 2011 11:00:15 +0200 Subject: adv_graphgen: fix sanitize and parse sanitze.sh now creates dot file in temp directory parse now correctly creates group attribute --- retiolum/scripts/adv_graphgen/parse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'retiolum/scripts/adv_graphgen/parse.py') diff --git a/retiolum/scripts/adv_graphgen/parse.py b/retiolum/scripts/adv_graphgen/parse.py index 4b9314cc..0bcf42a0 100755 --- a/retiolum/scripts/adv_graphgen/parse.py +++ b/retiolum/scripts/adv_graphgen/parse.py @@ -47,6 +47,7 @@ def write_node(k,v): edges are weightet with the informations inside the nodes provided by tinc """ + node = " "+k+"[label=\"" node += k+"\\l" node += "external:"+v['external-ip']+":"+v['external-port']+"\\l" @@ -57,7 +58,7 @@ def write_node(k,v): node +="\"" if v['external-ip'] == "MYSELF": node += ",fillcolor=steelblue1" - node +=",group="+v['external-ip'].replace(".","")+"" + node +=",group=\""+v['external-ip'].replace(".","")+"\"" node += "]" print node -- cgit v1.2.3