1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 08:48:11 +00:00

Fix exception when exporting debug data. Fixes #1684

This commit is contained in:
grossmj 2020-07-18 17:30:18 +09:30
parent e4978004d0
commit 0afce89c0b

View File

@ -237,6 +237,7 @@ Processus:
data += "\n\nProjects"
for project in Controller.instance().projects.values():
data += "\n\nProject name: {}\nProject ID: {}\n".format(project.name, project.id)
if project.status != "closed":
for link in project.links.values():
data += "Link {}: {}".format(link.id, link.debug_link_data)