diff options
| author | Bernard Xiong <[email protected]> | 2018-11-12 07:13:54 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-12 07:13:54 +0800 |
| commit | 302d00ec76270361c518f021e18e7d351f9081fa (patch) | |
| tree | e6a2cb3fe8d1fb6666fd95a2c66aa1532409fa45 /tools | |
| parent | 0533ade4ac3a7fd83517f5401e32abfafcb5990e (diff) | |
| parent | 59aee7c462e08b4f5306c11d099a04f900228df9 (diff) | |
Merge pull request #1969 from uestczyh222/master
修复scons --target=vsc 不支持py3的问题
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/vsc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vsc.py b/tools/vsc.py index 8067276ee6..6a978c1e39 100644 --- a/tools/vsc.py +++ b/tools/vsc.py @@ -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) |
