Skip to content

Commit

Permalink
[FIX] retDistDFeInt parseString
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Borges authored and gabrielcardoso21 committed Jun 23, 2020
1 parent dc59c63 commit a0c99a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nfelib/v4_00/retDistDFeInt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,11 @@ def parseString(inString, silence=False):
rootTag = 'retDistDFeInt'
rootClass = retDistDFeInt
rootObj = rootClass.factory()
rootObj.build(rootNode)

# TODO: Melhorar Solução
rootObj.build(rootNode.getchildren()[0])
# rootObj.build(rootNode)

# Enable Python to collect the space used by the DOM.
if not silence:
sys.stdout.write('<?xml version="1.0" ?>\n')
Expand Down

0 comments on commit a0c99a0

Please sign in to comment.