Skip to content

Commit 9dd181a

Browse files
committed
增加unhandle实际代码
1 parent 99f3814 commit 9dd181a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wechatrobot/WeChatRobot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def receive_callback(self , msg):
6868
10002 : 'other' # multivoip , taptap , ClientCheckConsistency, 邀请加入群聊并分享历史消息
6969
}
7070

71-
msg['type'] = type_dict.get(msg['type'] , 'unhandled')
71+
msg['type'] = type_dict.get(msg['type'] , 'unhandled'+str(msg['type']))
7272

7373
if (1 == msg["isSendMsg"]):
7474
if 1 == msg["isSendByPhone"]:
@@ -121,4 +121,4 @@ def get_base_path(self):
121121
return self.BASE_PATH
122122

123123
def __getattr__(self , item : str):
124-
return self.api.exec_command(item)
124+
return self.api.exec_command(item)

0 commit comments

Comments
 (0)