Skip to content

Commit 59aee7c

Browse files
committed
修复scons --target=vsc 不支持py3的问题
1 parent cb1af36 commit 59aee7c

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)