summaryrefslogtreecommitdiffstats
path: root/third_party/crashpad
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/crashpad')
-rwxr-xr-xthird_party/crashpad/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/crashpad/update.py b/third_party/crashpad/update.py
index 97d3bd5..e861519 100755
--- a/third_party/crashpad/update.py
+++ b/third_party/crashpad/update.py
@@ -200,7 +200,7 @@ Press ^C to abort.
subprocess.check_call(['git', 'reset', '--soft', original_head])
# Write the new README.
- open(readme_path, 'w').write(readme_content_new)
+ open(readme_path, 'wb').write(readme_content_new)
# Commit everything.
subprocess.check_call(['git', 'add', readme_path])