summaryrefslogtreecommitdiffstatshomepage
path: root/stm/boards/make-pins.py
diff options
context:
space:
mode:
Diffstat (limited to 'stm/boards/make-pins.py')
-rwxr-xr-xstm/boards/make-pins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/boards/make-pins.py b/stm/boards/make-pins.py
index b39a2b9ddd..8c1bedbf0c 100755
--- a/stm/boards/make-pins.py
+++ b/stm/boards/make-pins.py
@@ -199,7 +199,7 @@ class Pins(object):
self.print_named('board', self.board_pins)
def print_header(self, hdr_filename):
- with open(hdr_filename, 'wb') as hdr_file:
+ with open(hdr_filename, 'wt') as hdr_file:
for pin in self.pins:
if pin.board_name:
pin.print_header(hdr_file)