Return platform value on appliances list (Fixes #2211)

This commit is contained in:
ziajka committed 2017-08-08 13:58:43 +02:00
1 parent fc9d44011b
commit 3fd86f5807
2 files changed
+34 -5

No files matched your search

+3 -1
View File
@@ -77,6 +77,7 @@ class Appliance:
category = ID_TO_CATEGORY[self._data["category"]]
except KeyError:
category = self._data["category"]
return {
"appliance_id": self._id,
"node_type": self._data["node_type"],
@@ -85,5 +86,6 @@ class Appliance:
"category": category,
"symbol": self._data.get("symbol", ":/symbols/computer.svg"),
"compute_id": self.compute_id,
"builtin": self._builtin
"builtin": self._builtin,
"platform": self._data.get("platform", None)
}