mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-18 06:18:08 +00:00
Fix exception when emitting event from controller. Ref https://github.com/GNS3/gns3-gui/issues/2737
This commit is contained in:
parent
23b568678a
commit
3a73d01547
@ -405,7 +405,7 @@ class Compute:
|
|||||||
raise aiohttp.web.HTTPConflict(text=msg)
|
raise aiohttp.web.HTTPConflict(text=msg)
|
||||||
else:
|
else:
|
||||||
msg = "{}\nUsing different versions may result in unexpected problems. Please use at your own risk.".format(msg)
|
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._notifications = asyncio.gather(self._connect_notification())
|
||||||
self._connected = True
|
self._connected = True
|
||||||
|
Loading…
Reference in New Issue
Block a user