Commit 4f2858a8 authored by lixiaofang's avatar lixiaofang

add

parent f4aeff28
This diff is collapsed.
...@@ -337,7 +337,7 @@ def get_error(line): ...@@ -337,7 +337,7 @@ def get_error(line):
if len(line) > 1: if len(line) > 1:
data_dict = json.loads(line) data_dict = json.loads(line)
if data_dict["error"] != 0: if data_dict["error"] != 0:
stat_data = line stat_data = str(line)
ret = send_email(stat_data) ret = send_email(stat_data)
if ret: if ret:
logging.info('like query统计邮件发送成功') logging.info('like query统计邮件发送成功')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment