提交 126a8056 编写于 作者: X xiyue5

优化打开product_name.json文件后不能hb set

Signed-off-by: Nxiyue5 <liuxiyue5@huawei.com>
上级 698247df
......@@ -52,7 +52,7 @@ class Product():
}
bip_path = config.built_in_product_path
for item in os.listdir(bip_path):
if item[0] == ".":
if item[0] in ".":
continue
else:
product_name = item[0:-len('.json')] if item.endswith('.json') else item
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册