Commit 164e893a by 周杭

删除无用代码

1 parent 3502b08c
...@@ -211,12 +211,6 @@ def handler_sn(dst, flag, angle, path, row, connection, cursor): ...@@ -211,12 +211,6 @@ def handler_sn(dst, flag, angle, path, row, connection, cursor):
# log.info(line[0][1][0]) # log.info(line[0][1][0])
result_list = flatten_list(result) result_list = flatten_list(result)
log.info("result_list %s", result_list)
with open("./log01.txt", "a+", encoding="utf-8") as file:
if result_list is not None:
file.write(path + "----" + str(result_list) + "\n")
else:
file.write(path + "----" + "NULL" + "\n")
# 使用正则表达式进行过滤 获取车架号 # 使用正则表达式进行过滤 获取车架号
for item in result_list: for item in result_list:
...@@ -256,12 +250,6 @@ def handler_vin(dst, flag, angle, path, row, connection, cursor): ...@@ -256,12 +250,6 @@ def handler_vin(dst, flag, angle, path, row, connection, cursor):
# log.info(line[0][1][0]) # log.info(line[0][1][0])
result_list = flatten_list(result) result_list = flatten_list(result)
log.info("result_list %s", result_list)
with open("./log10.txt", "a+", encoding="utf-8") as file:
if result_list is not None:
file.write(path + "----" + str(result_list) + "\n")
else:
file.write(path + "----" + "NULL" + "\n")
# 使用正则表达式进行过滤 获取车架号 # 使用正则表达式进行过滤 获取车架号
vin_str = "" vin_str = ""
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!