Skip to content

Commit 2059fed

Browse files
author
Olli-Pekka Puolitaival
committed
Fix building with python 3
1 parent 72a0bd4 commit 2059fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def make_option_file(self, options, naming=".options_{}.txt"):
321321
except IOError:
322322
old_md5 = None
323323
if old_md5 != new_md5:
324-
with open(via_file, "w") as fd:
324+
with open(via_file, "wb") as fd:
325325
fd.write(to_write)
326326
return via_file
327327

0 commit comments

Comments
 (0)