mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 02:08:10 +00:00
Fix a crash with Python 3.4
Fix https://github.com/GNS3/gns3-server/issues/876
This commit is contained in:
parent
08c2892295
commit
bcc71b5455
@ -636,7 +636,7 @@ class Project:
|
||||
compute = self.controller.get_compute(node.pop("compute_id"))
|
||||
name = node.pop("name")
|
||||
node_id = node.pop("node_id")
|
||||
yield from self.add_node(compute, name, node_id, **node, dump=False)
|
||||
yield from self.add_node(compute, name, node_id, dump=False, **node)
|
||||
for link_data in topology.get("links", []):
|
||||
link = yield from self.add_link(link_id=link_data["link_id"])
|
||||
for node_link in link_data["nodes"]:
|
||||
|
Loading…
Reference in New Issue
Block a user