Skip to content

Commit 302d00e

Browse files
authored
Merge pull request #1969 from uestczyh222/master
修复scons --target=vsc 不支持py3的问题
2 parents 0533ade + 59aee7c commit 302d00e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/vsc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def GenerateCFiles(env):
3737
if not os.path.exists('.vscode'):
3838
os.mkdir('.vscode')
3939

40-
vsc_file = file('.vscode/c_cpp_properties.json', 'wb')
40+
vsc_file = open('.vscode/c_cpp_properties.json', 'w')
4141
if vsc_file:
4242
info = utils.ProjectInfo(env)
4343

0 commit comments

Comments
 (0)