mirror of https://github.com/ARMmbed/mbed-os.git
Fix building with python 3
parent
72a0bd4374
commit
2059fed945
|
@ -321,7 +321,7 @@ class mbedToolchain:
|
||||||
except IOError:
|
except IOError:
|
||||||
old_md5 = None
|
old_md5 = None
|
||||||
if old_md5 != new_md5:
|
if old_md5 != new_md5:
|
||||||
with open(via_file, "w") as fd:
|
with open(via_file, "wb") as fd:
|
||||||
fd.write(to_write)
|
fd.write(to_write)
|
||||||
return via_file
|
return via_file
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue