chiark / gitweb /
I'm sure I've done something since I remembered to commit...
[familyTree.git] / cgiFiles / ancestorGraph.py
index 6c633e0e1a42d69199954697dd737dbf2608b744..cbd5f70297fe4fd4d09f53b2c97da3060842917d 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/python
 
 import cgi
-import cgitb
-cgitb.enable()
+#import cgitb
+#cgitb.enable()
 import sys
 sys.path.append('/home/naath/familyTreeProject/familyTree')
 import askQuestion as aQ
@@ -37,11 +37,9 @@ def make_graph(ID):
         d.add_highlight(Self)
 
        add_parents(ID,Self)
-
+       d.create_dot()
        d.add_subgraphs()
-
         d.end_dot()
-
         d.render_dot()
 
 form = cgi.FieldStorage()