Download custom appliance symbols from GitHub

Fix symbol cache issue. Ref https://github.com/GNS3/gns3-gui/issues/2671
Fix temporary directory for symbols was not deleted
Fix temporary appliance file was not deleted
This commit is contained in:
grossmj committed 2019-03-11 16:55:16 +07:00
1 parent 889d29ec55
commit bae3fb84b9
8 files changed
+95 -37

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ class Appliance:
def status(self):
return self._data["status"]
@property
def symbol(self):
return self._data.get("symbol")
def __json__(self):
"""
Appliance data (a hash)