Skip to content

Commit d911dc9

Browse files
committed
docs/shared_binding_matrix.py: fix usage with the branded name (building docs)
1 parent 928433f commit d911dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/shared_bindings_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def support_matrix_by_board(use_branded_name=True):
162162
settings = get_settings_from_makefile(str(port_dir), entry.name)
163163

164164
if use_branded_name:
165-
with open(os.path.join(entry.path, "mpconfigboard.h")) as get_name:
165+
with open(entry / "mpconfigboard.h") as get_name:
166166
board_contents = get_name.read()
167167
board_name_re = re.search(r"(?<=MICROPY_HW_BOARD_NAME)\s+(.+)",
168168
board_contents)

0 commit comments

Comments
 (0)