Skip to content

Commit

Permalink
https://github.com/youfou/wxpy/pull/100
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhiyuan Chen committed Aug 25, 2019
1 parent 73c78cb commit 892aff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wxpy/api/messages/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def articles(self):

from wxpy import MP
if self.type == SHARING and isinstance(self.sender, MP):
tree = ETree.fromstring(self.raw['Content'])
tree = ETree.fromstring(self.raw['Content'].encode('utf8'))
# noinspection SpellCheckingInspection
items = tree.findall('.//mmreader/category/item')

Expand Down

0 comments on commit 892aff7

Please sign in to comment.