Commit 922a2010 authored by 赵建伟's avatar 赵建伟

update codes

parent ed3f0aab
...@@ -130,10 +130,9 @@ def check_is_ok(): ...@@ -130,10 +130,9 @@ def check_is_ok():
shd_dic[shd[0]] = shd[1] shd_dic[shd[0]] = shd[1]
for suc in suc_list: for suc in suc_list:
if shd_dic[suc[0]] != suc[1]: if shd_dic.get(suc[0]) != suc[1]:
is_send = True is_send = True
error_msg += "【" + mapping_dic[suc[0]] + "】打点异常,应打点个数为:" + bytes(shd_dic[suc[0]]) + ",实际打点个数为:" + bytes( error_msg += "【" + mapping_dic.get(suc[0]) + "】打点异常,应打点个数为:" + bytes(shd_dic.get(suc[0])) + ",实际打点个数为:" + bytes(suc[1]) + ", 请核实!\n"
suc[1]) + ", 请核实!\n"
if is_send: if is_send:
logging.error(error_msg) logging.error(error_msg)
......
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