This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
J1147
/
CoW
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix: empty content issue
master
lanvent
1 year ago
parent
279f0f0234
commit
dcb9d7fc2a
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
channel/wechat/wechat_channel.py
+ 3
- 0
channel/wechat/wechat_channel.py
View File
@@ -244,6 +244,9 @@ class WechatChannel(Channel):
# 处理消息 TODO: 如果wechaty解耦,此处逻辑可以放置到父类
def handle(self, context):
if not context.content:
return
reply = Reply()
logger.debug('[WX] ready to handle context: {}'.format(context))
Write
Preview
Loading…
Cancel
Save