X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8c5c356ee7710262751d1a629aaa80e272f71918..0d3fb261fc396c2f8f66018ff923bf202e869b35:/librarian/xmlutils.py?ds=inline diff --git a/librarian/xmlutils.py b/librarian/xmlutils.py index 523ad8b..839ae89 100644 --- a/librarian/xmlutils.py +++ b/librarian/xmlutils.py @@ -94,8 +94,7 @@ class Xmill(object): return [] else: if not isinstance(vals, tuple): - pre = [vals] - post = [] + return [vals] else: pre = [vals[0], element.text] post = [vals[1]]