Skip to content

Commit 2b71471

Browse files
authored
remove redundant bool
1 parent e61acc7 commit 2b71471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def install_tool(TOOL):
5757
sys.stderr.write("Error: Couldn't execute 'idf_tools.py install'\n")
5858
else:
5959
tl_path = "file://" + join(TOOLS_PATH_DEFAULT, "tools", TOOL)
60-
if not bool(os.path.exists(join(TOOLS_PATH_DEFAULT, "tools", TOOL, "package.json"))):
60+
if not os.path.exists(join(TOOLS_PATH_DEFAULT, "tools", TOOL, "package.json")):
6161
shutil.copyfile(TOOLS_PACK_PATH, join(TOOLS_PATH_DEFAULT, "tools", TOOL, "package.json"))
6262
pm.install(tl_path)
6363
return

0 commit comments

Comments
 (0)