bluedazzle / wechat_sender

随时随地发送消息到微信
http://wechat-sender.readthedocs.io/zh_CN/latest/
BSD 2-Clause "Simplified" License
469 stars 94 forks source link

python 3 sender 报错 #8

Closed bluedazzle closed 7 years ago

bluedazzle commented 7 years ago
File "D:\dbm\rancher_env\Lib\site-packages\wechat_sender\sender.py", line 57, in send
    res_data = json.loads(res.content)
  File "c:\python35\Lib\json\__init__.py", line 312, in loads
b'{"message": "Success", "status": 0}'
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'