1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-11 08:30:57 +00:00

Fix save of topology size

Fix https://github.com/GNS3/gns3-gui/issues/1561
This commit is contained in:
Julien Duponchelle 2016-10-05 15:52:44 +02:00
parent 5a695d2651
commit d60b606d5e
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,8 @@ def project_to_topology(project):
"auto_start": project.auto_start,
"auto_open": project.auto_open,
"auto_close": project.auto_close,
"scene_width": project.scene_width,
"scene_height": project.scene_height,
"topology": {
"nodes": [],
"links": [],

View File

@ -37,6 +37,8 @@ def test_project_to_topology_empty(tmpdir):
"auto_start": False,
"auto_close": True,
"auto_open": False,
"scene_width": 2000,
"scene_height": 1000,
"revision": 5,
"topology": {
"nodes": [],