From dbd4948e679909add853d6367dd97188422b914c Mon Sep 17 00:00:00 2001 From: Frederik Jaeckel Date: Fri, 17 Jan 2025 14:19:53 +0100 Subject: [PATCH] fix _readxml_read_listdata() --- document.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/document.py b/document.py index 80b1d5a..e2c73c8 100644 --- a/document.py +++ b/document.py @@ -717,7 +717,10 @@ class Incoming(metaclass=PoolMeta): else tuple(list(list_item) + [None])) 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: values[key] = value if values: