From 411ca56b948f4099835285fb9525d339ca82df8a Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 16 Jun 2016 15:00:32 +0200 Subject: [PATCH] Fix Exception when closing local server (started by GUI) Fix #578 --- gns3server/handlers/api/controller/server_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/handlers/api/controller/server_handler.py b/gns3server/handlers/api/controller/server_handler.py index 69d9e91c..298c3c9a 100644 --- a/gns3server/handlers/api/controller/server_handler.py +++ b/gns3server/handlers/api/controller/server_handler.py @@ -49,7 +49,7 @@ class ServerHandler: # close all the projects first controller = Controller.instance() - projects = controller.projects + projects = controller.projects.values() tasks = [] for project in projects: