1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-17 22:08:35 +00:00

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

This commit is contained in:
grossmj 2019-03-15 13:14:55 +07:00
parent 23b568678a
commit 3a73d01547

View File

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