[ocaml] fix expanded config generation

when modules where unloaded, the xml node without tag name was causing a
parsing error when extrating the binary data with sd2log tool
This commit is contained in:
Gautier Hattenberger
2017-06-30 17:27:05 +02:00
parent 6a72c5da84
commit e5f1d63915
+1 -1
View File
@@ -111,7 +111,7 @@ let filter_modules_target = fun module_file ->
List.filter (fun t ->
Xml.tag t = "settings" && ExtXml.attrib_or_default t "name" "" = name)
(Xml.children module_xml))
else Xml.Element ("",[],[])
else Xml.Element ("settings",[],[])
end
else module_xml