Skip to content

Commit 9d52de5

Browse files
committed
windows: properly handle None value
1 parent 6698ac1 commit 9d52de5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpython-windows/build.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,10 @@ def main():
19981998

19991999
LOG_PREFIX[0] = "cpython"
20002000
tar_path = build_cpython(
2001-
args.python, arch, sh_exe=pathlib.Path(args.sh), profile=args.profile,
2001+
args.python,
2002+
arch,
2003+
sh_exe=pathlib.Path(args.sh) if args.sh else None,
2004+
profile=args.profile,
20022005
)
20032006

20042007
compress_python_archive(

0 commit comments

Comments
 (0)