Skip to content
Snippets Groups Projects
Commit 75227bb8 authored by Liorithiel's avatar Liorithiel
Browse files

Small bug in common/dataforms.py.

parent 3b08d054
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ class DataForm(xmpp.Node, object):
# change every <field/> to DataField object
for item in iter_elements(self, 'item'):
for field in iter_elements(item, 'field'):
field.delChild(field)
item.delChild(field)
field.addChild(node=DataField(node=field))
else:
self._mode = DATAFORM_SINGLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment