1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix a crash with Python 3.4

Fix https://github.com/GNS3/gns3-server/issues/876
This commit is contained in:
Julien Duponchelle 2017-02-06 16:52:13 +01:00
parent 08c2892295
commit bcc71b5455
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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"]: