提交 59aee7c4 编写于 作者: lymzzyh's avatar lymzzyh

修复scons --target=vsc 不支持py3的问题

上级 cb1af361
......@@ -37,7 +37,7 @@ def GenerateCFiles(env):
if not os.path.exists('.vscode'):
os.mkdir('.vscode')
vsc_file = file('.vscode/c_cpp_properties.json', 'wb')
vsc_file = open('.vscode/c_cpp_properties.json', 'w')
if vsc_file:
info = utils.ProjectInfo(env)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册