fix logging bug

This commit is contained in:
sbilly
2016-02-22 08:43:51 +08:00
parent ae2e480529
commit e4c8f2a314
+1 -1
View File
@@ -441,7 +441,7 @@ class WebWeixin(object):
else: else:
print '[*] 该消息类型为: %d,可能是表情,图片或链接' % msg['MsgType'] print '[*] 该消息类型为: %d,可能是表情,图片或链接' % msg['MsgType']
print msg print msg
logging.debug('[*] 该消息类型为: %d,可能是表情,图片或链接: ' % (msg['MsgType'], json.dumps(msg))) logging.debug('[*] 该消息类型为: %d,可能是表情,图片或链接: %s' % (msg['MsgType'], json.dumps(msg)))
def listenMsgMode(self): def listenMsgMode(self):
print '[*] 进入消息监听模式 ... 成功' print '[*] 进入消息监听模式 ... 成功'