Merge pull request #1969 from uestczyh222/master

修复scons --target=vsc 不支持py3的问题
This commit is contained in:
Bernard Xiong 2018-11-12 07:13:54 +08:00 committed by GitHub
commit 302d00ec76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)