From 8354beaa8632b381372b4bf44ab064fe5401784e Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 20 Jul 2017 15:13:58 +0200 Subject: [PATCH] Return computer symbol if an appliance don't have symbol Fix #1087 --- gns3server/controller/appliance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/appliance.py b/gns3server/controller/appliance.py index 356ae10e..82c4064c 100644 --- a/gns3server/controller/appliance.py +++ b/gns3server/controller/appliance.py @@ -79,7 +79,7 @@ class Appliance: "name": self._data["name"], "default_name_format": self._data.get("default_name_format", "{name}-{0}"), "category": ID_TO_CATEGORY[self._data["category"]], - "symbol": self._data["symbol"], + "symbol": self._data.get("symbol", ":/symbols/computer.svg"), "compute_id": self.compute_id, "builtin": self._builtin }