1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Fix an error when deleting a compute already deleted

Fix #815
This commit is contained in:
Julien Duponchelle 2016-12-12 11:09:07 +01:00
parent d16e3bb37b
commit 063087f6fb
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -277,7 +277,10 @@ class Controller:
:param compute_id: Compute server identifier
"""
compute = self.get_compute(compute_id)
try:
compute = self.get_compute(compute_id)
except aiohttp.web.HTTPNotFound:
return
for project in self._projects.values():
if compute in project.computes: