diff --git a/graph.py b/graph.py index c20d672c..39a9223e 100644 --- a/graph.py +++ b/graph.py @@ -46,7 +46,7 @@ def update_links(self, links): if link.is_active(): self.graph.add_edge(link.endpoint_a.id, link.endpoint_b.id) for key, value in link.metadata.items(): - keys.extend(key) + keys.append(key) endpoint_a = link.endpoint_a.id endpoint_b = link.endpoint_b.id self.graph[endpoint_a][endpoint_b][key] = value