The server has now 2 notification streams

* A new one for controller related events (compute, appliance templates etc.)
* The existing one for project related events (links, nodes etc.)
This commit is contained in:
grossmj committed 2018-08-16 21:31:57 +07:00
1 parent dac3ba19b7
commit 7f72b90b0e
364 files changed
+12364 -9923

No files matched your search

+1 -1
View File
@@ -72,7 +72,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.warning(msg)
project.controller.notification.emit("log.warning", {"message": msg})
project.controller.notification.project_emit("log.warning", {"message": msg})
continue
# ignore the .gns3 file
if file.endswith(".gns3"):