From 17d5dbe1792f941abb750d3dfe2cc391f59492ad Mon Sep 17 00:00:00 2001 From: weichaox Date: Fri, 12 Aug 2022 18:58:28 +0800 Subject: [PATCH] bugfix, misspelling Signed-off-by: weichaox Change-Id: I91b21ec1e3a7bf83dd5e269064a7814ff50b8533 --- hb_internal/common/product.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hb_internal/common/product.py b/hb_internal/common/product.py index b7872d3..324fbb0 100755 --- a/hb_internal/common/product.py +++ b/hb_internal/common/product.py @@ -130,8 +130,8 @@ class Product(): board = info.get('board') _board_path = info.get('board_path') if _board_path and os.path.exists( - os.path.json(config.root_path, _board_path)): - board_path = os.path.json(config.root_path, _board_path) + os.path.join(config.root_path, _board_path)): + board_path = os.path.join(config.root_path, _board_path) else: board_path = os.path.join(config.root_path, 'device', device_company, board) -- GitLab