fix _readxml_read_listdata()

This commit is contained in:
Frederik Jaeckel 2025-01-17 14:19:53 +01:00
parent fd709834e6
commit dbd4948e67

View file

@ -717,7 +717,10 @@ class Incoming(metaclass=PoolMeta):
else tuple(list(list_item) + [None])) else tuple(list(list_item) + [None]))
value = self._readxml_getvalue( value = self._readxml_getvalue(
xmldata, xpath_list + [x, xkey], vtype=xtype) xmldata,
xpath_list + [x] +
(xkey if isinstance(xkey, list) else [xkey]),
vtype=xtype)
if value is not None: if value is not None:
values[key] = value values[key] = value
if values: if values: