Skip to content

Commit

Permalink
Change keys.extend(..) to keys.append(..) (#65)
Browse files Browse the repository at this point in the history
Fix #64
  • Loading branch information
MarvinTorres authored Sep 16, 2020
1 parent 4ed93db commit d8ba617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8ba617

Please sign in to comment.