mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-17 17:24:51 +02:00
Fix exception when exporting debug data. Fixes #1684
This commit is contained in:
parent
e4978004d0
commit
0afce89c0b
@ -237,7 +237,8 @@ Processus:
|
|||||||
data += "\n\nProjects"
|
data += "\n\nProjects"
|
||||||
for project in Controller.instance().projects.values():
|
for project in Controller.instance().projects.values():
|
||||||
data += "\n\nProject name: {}\nProject ID: {}\n".format(project.name, project.id)
|
data += "\n\nProject name: {}\nProject ID: {}\n".format(project.name, project.id)
|
||||||
for link in project.links.values():
|
if project.status != "closed":
|
||||||
data += "Link {}: {}".format(link.id, link.debug_link_data)
|
for link in project.links.values():
|
||||||
|
data += "Link {}: {}".format(link.id, link.debug_link_data)
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
Loading…
Reference in New Issue
Block a user