Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhanyu committed Mar 5, 2023
1 parent 60ebcac commit 0ce095f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def wechat():
# 把xml格式的数据进行处理,转换成字典进行取值
print('xml:',xml)
try:
print('是否执行了?')
req = xmltodict.parse(xml)['xml'] # 云端调试空内容报错解决:no element found
print('try:',req)
except:
Expand Down

0 comments on commit 0ce095f

Please sign in to comment.