From c1a0f4e83d52c1f47c8e838d02f7385eb26db788 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Mon, 6 Jan 2020 11:54:51 -0800 Subject: [PATCH] fix for custom services not setting service.configs when reading xml --- daemon/core/xml/corexml.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/core/xml/corexml.py b/daemon/core/xml/corexml.py index 285b7a3b..db6d8bd7 100644 --- a/daemon/core/xml/corexml.py +++ b/daemon/core/xml/corexml.py @@ -664,10 +664,13 @@ class CoreXmlReader: file_elements = service_configuration.find("files") if file_elements is not None: + files = [] for file_element in file_elements.iterchildren(): name = file_element.get("name") data = file_element.text service.config_data[name] = data + files.append(name) + service.configs = tuple(files) def read_emane_configs(self): emane_configurations = self.scenario.find("emane_configurations")