Merge branch 'develop' into coretk-fix
This commit is contained in:
commit
8bcacf0a04
8 changed files with 15 additions and 11 deletions
|
@ -762,7 +762,9 @@ class CoreXmlReader:
|
|||
node_id = get_int(device_element, "id")
|
||||
name = device_element.get("name")
|
||||
model = device_element.get("type")
|
||||
icon = device_element.get("icon")
|
||||
options = NodeOptions(name, model)
|
||||
options.icon = icon
|
||||
|
||||
service_elements = device_element.find("services")
|
||||
if service_elements is not None:
|
||||
|
@ -788,7 +790,9 @@ class CoreXmlReader:
|
|||
node_id = get_int(network_element, "id")
|
||||
name = network_element.get("name")
|
||||
node_type = NodeTypes[network_element.get("type")]
|
||||
icon = network_element.get("icon")
|
||||
options = NodeOptions(name)
|
||||
options.icon = icon
|
||||
|
||||
position_element = network_element.find("position")
|
||||
if position_element is not None:
|
||||
|
|
Loading…
Reference in a new issue