Sfoglia il codice sorgente

Merge branch 'zhayujie:master' into feat_local

master
vision GitHub 7 mesi fa
parent
commit
802d8457bb
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: B5690EEEBB952194
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      channel/wechat/wechat_channel.py

+ 1
- 0
channel/wechat/wechat_channel.py Vedi File

@@ -233,6 +233,7 @@ class WechatChannel(ChatChannel):
logger.info("[WX] sendImage url={}, receiver={}".format(img_url, receiver))
elif reply.type == ReplyType.IMAGE: # 从文件读取图片
image_storage = reply.content
image_storage.seek(0)
itchat.send_image(image_storage, toUserName=receiver)
logger.info("[WX] sendImage, receiver={}".format(receiver))
elif reply.type == ReplyType.FILE: # 新增文件回复类型


Loading…
Annulla
Salva