1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-12 19:38:57 +00:00

AttributeError: 'Project' object has no attribute 'emit'

Fix #804
This commit is contained in:
Julien Duponchelle 2016-12-01 10:27:05 +01:00
parent e3b1eee85b
commit 95e944257a
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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