mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Move appliance and template management code in their own classes.
This commit is contained in:
1 parent
5a3929f01a
commit
8360ae98b1
10 files changed
+340
-224
No files matched your search
@@ -481,7 +481,7 @@ class Project:
|
||||
Create a node from a template.
|
||||
"""
|
||||
try:
|
||||
template = copy.deepcopy(self.controller.templates[template_id].settings)
|
||||
template = copy.deepcopy(self.controller.template_manager.templates[template_id].settings)
|
||||
except KeyError:
|
||||
msg = "Template {} doesn't exist".format(template_id)
|
||||
log.error(msg)
|
||||
|
||||
Reference in new issue
Block a user