Skip to content

Commit

Permalink
update xml parser - deprecated method (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonation committed Aug 1, 2022
1 parent 2d59403 commit 4f59800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cterasdk/convert/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def fromxmlstr(string): # pylint: disable=too-many-branches,too-many-statements
kid = Item()
kid.id = item.node.attrib.get(XMLTypes.ID)
kid.parent = item
kid.node = item.node.getchildren()[0]
kid.node = list(item.node)[0]
q.put(kid)

return root.value

0 comments on commit 4f59800

Please sign in to comment.