config_tool: bdf of ioport serial port

Little fix: bdf format of inport serial port in board_inspector.

Tracked-On: #8235
Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
Yuanyuan Zhao 2022-10-21 21:10:53 +08:00 committed by acrnsi-robot
parent fbe1c39a9e
commit b5c70650cd
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def dump_ttys_info(ttys_list, config):
base = read_ttys_node(base_path)
try:
b = get_bdf_from_realpath(os.path.join(TTY_PATH, ttys_n, 'device'))
bdf = f'{b[0]}:{b[1]}.{b[2]}
bdf = f'{b[0]}:{b[1]}.{b[2]}'
except AssertionError:
bdf = ''
if bdf: