1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00

Fix linked base & linked clone settings in appliance

This commit is contained in:
Julien Duponchelle 2017-06-19 10:49:23 +02:00
parent bb8097a052
commit 734ca7d2f9
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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