未验证 提交 2e44d30e 编写于 作者: H Henry Schreiner 提交者: GitHub

fix: handle None case for python library

上级 6b73d90f
......@@ -36,7 +36,7 @@ def main():
]
python_version = cmaker.CMaker.get_python_version()
python_lib_path = cmaker.CMaker.get_python_library(python_version).replace(
python_lib_path = (cmaker.CMaker.get_python_library(python_version) or "").replace(
"\\", "/"
)
python_include_dir = cmaker.CMaker.get_python_include_dir(python_version).replace(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册