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

Fix #804
pull/807/head
Julien Duponchelle 8 years ago
parent e3b1eee85b
commit 95e944257a
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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

Loading…
Cancel
Save