Fix crash if at controller loading the remote server is not a GNS3 server

Fix #810
pull/830/head
Julien Duponchelle 8 years ago
parent d55c73bc8e
commit 52260cba53
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -137,7 +137,10 @@ class Controller:
self.gns3vm.settings = data["gns3vm"]
for c in data["computes"]:
yield from self.add_compute(**c)
try:
yield from self.add_compute(**c)
except aiohttp.web_exceptions.HTTPConflict:
pass # Skip not available servers at loading
@asyncio.coroutine
def load_projects(self):

Loading…
Cancel
Save