diff --git a/tools/vsc.py b/tools/vsc.py index 8067276ee63cd490081458055de5a75b743c0e41..6a978c1e3985966ea078b5b8a98b0dab550be7ed 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)