summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/vsc.py2
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)