Skip to content

Commit

Permalink
AttributeError: 'Project' object has no attribute 'emit'
Browse files Browse the repository at this point in the history
Fix #804
  • Loading branch information
julien-duponchelle committed Dec 1, 2016
1 parent e3b1eee commit 95e9442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3server/controller/export_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95e9442

Please sign in to comment.