Fix linked base & linked clone settings in appliance

pull/1081/head
Julien Duponchelle 7 years ago
parent bb8097a052
commit 734ca7d2f9
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -42,8 +42,8 @@ class Appliance:
# Version of the gui before 2.1 use linked_base
# and the server linked_clone
if "linked_base" in data:
self._data["linked_clone"] = data.pop("linked_base")
if "linked_base" in self._data:
self._data["linked_clone"] = self._data.pop("linked_base")
if data["node_type"] == "iou" and "image" in data:
del self._data["image"]
self._builtin = builtin

Loading…
Cancel
Save