From 59aee7c462e08b4f5306c11d099a04f900228df9 Mon Sep 17 00:00:00 2001 From: ZYH Date: Sun, 11 Nov 2018 17:48:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dscons=20--target=3Dvsc=20?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81py3=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/vsc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)