Skip to content

Commit 85a761a

Browse files
committed
Fix networkx compatibility warning
1 parent 366a614 commit 85a761a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thug/Logging/modules/ExploitGraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def add_connection(self, source, destination, method):
3636

3737
def draw(self):
3838
G = networkx.convert_node_labels_to_integers(self.G, label_attribute="url")
39-
d = json_graph.node_link_data(G)
39+
d = json_graph.node_link_data(G, edges="links")
4040

4141
return json.dumps(d)

0 commit comments

Comments
 (0)