Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
root and not root2
  • Loading branch information
dunglehome committed Mar 22, 2016
1 parent c60fd1b commit 6817011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmlutils/xml2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_json(self, pretty=True):
except StopIteration:
print("Event StopIteration found, done!")
finally:
return self._elem2json(root2, pretty)
return self._elem2json(root, pretty)

def convert(self, pretty=True):
"""
Expand Down

0 comments on commit 6817011

Please sign in to comment.