4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-20 20:17:29 +08:00

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

This commit is contained in:
ZYH 2018-11-11 17:48:08 +08:00
parent cb1af3616d
commit 59aee7c462

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)