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
2019-03-11 16:55:16 +07:00
parent 889d29ec55
commit bae3fb84b9
8 changed files with 95 additions and 37 deletions

View File

@ -51,6 +51,8 @@ class TemplateHandler:
controller = Controller.instance()
template = controller.template_manager.add_template(request.json)
# Reset the symbol list
controller.symbols.list()
response.set_status(201)
response.json(template)