Skip to content

Commit 281b10f

Browse files
committed
style: use os.path.join for ninja-win.zip path
Signed-off-by: shbhmexe <[email protected]>
1 parent 174c465 commit 281b10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preconfigure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def build_ninja():
3838
# If we are on windows, we don't need to compile ninja, we just download the executable
3939
if os.name == "nt":
4040
ninja_exe_url = "https://github.com/ninja-build/ninja/releases/download/v1.13.0/ninja-win.zip"
41-
ninja_zip_path = sys.path[0] + os.path.sep + "ninja-win.zip"
41+
ninja_zip_path = os.path.join(sys.path[0], "ninja-win.zip")
4242

4343
# Try to execute ninja, if it fails, download .exe from github
4444
try:

0 commit comments

Comments
 (0)