Fix location in collections

This commit is contained in:
davelopez
2023-08-18 17:16:09 +02:00
parent 9f5d29846b
commit 70c467b90e
+3
View File
@@ -864,6 +864,9 @@ def __parse_param_elem(param_elem, i=0):
else:
value = None
if value is None and attrib.get("location", None) is not None:
value = os.path.basename(attrib["location"])
children_elem = param_elem
if children_elem is not None:
# At this time, we can assume having children only