Skip to content

Commit

Permalink
Bugfix for parse
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Oct 11, 2013
1 parent 45af0d4 commit 621fb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_weixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def parse(self, content):
:param content: A text of xml body.
"""
dct = {}
root = etree.fromstring(body)
root = etree.fromstring(content)
for child in root:
dct[child.tag] = child.text

Expand Down

0 comments on commit 621fb4b

Please sign in to comment.