mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-02 21:28:10 +00:00
Fix crash if at controller loading the remote server is not a GNS3 server
Fix #810
This commit is contained in:
parent
d55c73bc8e
commit
52260cba53
@ -137,7 +137,10 @@ class Controller:
|
|||||||
self.gns3vm.settings = data["gns3vm"]
|
self.gns3vm.settings = data["gns3vm"]
|
||||||
|
|
||||||
for c in data["computes"]:
|
for c in data["computes"]:
|
||||||
|
try:
|
||||||
yield from self.add_compute(**c)
|
yield from self.add_compute(**c)
|
||||||
|
except aiohttp.web_exceptions.HTTPConflict:
|
||||||
|
pass # Skip not available servers at loading
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def load_projects(self):
|
def load_projects(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user