1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-12 19:38:57 +00:00

FIX iou creation

Fix https://github.com/GNS3/gns3-gui/issues/2065
This commit is contained in:
Julien Duponchelle 2017-05-18 17:13:40 +02:00
parent f338158654
commit 624a2c02c5
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -40,6 +40,8 @@ class Appliance:
# and the server linked_clone
if "linked_base" in data:
self._data["linked_clone"] = data.pop("linked_base")
if data["node_type"] == "iou" and "image" in data:
del self._data["image"]
self._builtin = builtin
@property