Commit c729b04a authored by Franziska Koehn's avatar Franziska Koehn
Browse files

bug fixed

parent 5c17c921
......@@ -303,6 +303,7 @@ def create_xml_tree(root_type, query, fields):
child = ET.SubElement(parent, "xdat:child_set", method="AND")
iter_child = iter(element)
create_criterias(child, next(iter_child), iter_child)
create_criterias(parent, next(iterator), iterator)
except StopIteration:
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment