Return computer symbol if an appliance don't have symbol

Fix #1087
This commit is contained in:
Julien Duponchelle committed 2017-07-20 15:13:58 +02:00
1 parent 27f733736e
commit 8354beaa86
1 file changed
+1 -1
+1 -1
View File
@@ -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
}