Fix exception when emitting event from controller. Ref https://github.com/GNS3/gns3-gui/issues/2737

pull/1562/head
grossmj 5 years ago
parent 23b568678a
commit 3a73d01547

@ -405,7 +405,7 @@ class Compute:
raise aiohttp.web.HTTPConflict(text=msg)
else:
msg = "{}\nUsing different versions may result in unexpected problems. Please use at your own risk.".format(msg)
self._controller.notification.emit("log.warning", {"message": msg})
self._controller.notification.controller_emit("log.warning", {"message": msg})
self._notifications = asyncio.gather(self._connect_notification())
self._connected = True

Loading…
Cancel
Save