10. [APIs: all]: 添加了 logger.setLevel(INFO),只有添加这个,单个模块内才生效
This commit is contained in:
@ -5,11 +5,12 @@ from paramiko import SSHClient, AutoAddPolicy
|
||||
from json import loads
|
||||
from openpyxl import load_workbook
|
||||
from pandas import DataFrame, concat
|
||||
from logging import getLogger
|
||||
from logging import getLogger, INFO
|
||||
from commons import clibs
|
||||
|
||||
tab_name = clibs.tab_names['at']
|
||||
logger = getLogger(__file__)
|
||||
logger.setLevel(INFO)
|
||||
|
||||
|
||||
def check_files(path, loadsel, data_dirs, data_files, w2t):
|
||||
@ -105,7 +106,7 @@ def run_rl(path, loadsel, hr, md, config_file, result_dirs, w2t):
|
||||
ws = wb['Target']
|
||||
write_diagnosis = float(ws.cell(row=3, column=10).value)
|
||||
get_init_speed = float(ws.cell(row=4, column=10).value)
|
||||
single_brake = ws.cell(row=5, column=10).value
|
||||
single_brake = str(ws.cell(row=5, column=10).value)
|
||||
|
||||
if ws.cell(row=1, column=1).value == 'positive':
|
||||
md.write_pon(1)
|
||||
|
Reference in New Issue
Block a user