From 95e944257ac844cb73645d77ac07d25485149039 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 1 Dec 2016 10:27:05 +0100 Subject: [PATCH] AttributeError: 'Project' object has no attribute 'emit' Fix #804 --- gns3server/controller/export_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/export_project.py b/gns3server/controller/export_project.py index 43b8b1f3..784959cd 100644 --- a/gns3server/controller/export_project.py +++ b/gns3server/controller/export_project.py @@ -68,7 +68,7 @@ def export_project(project, temporary_dir, include_images=False, keep_compute_id except OSError as e: msg = "Could not export file {}: {}".format(path, e) log.warn(msg) - project.emit("log.warning", {"message": msg}) + project.controller.notification.emit("log.warning", {"message": msg}) continue if file.endswith(".gns3"): pass