summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/shared_bindings_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py
index c0d07d4b4..12a7b7eb8 100644
--- a/docs/shared_bindings_matrix.py
+++ b/docs/shared_bindings_matrix.py
@@ -162,7 +162,7 @@ def support_matrix_by_board(use_branded_name=True):
settings = get_settings_from_makefile(str(port_dir), entry.name)
if use_branded_name:
- with open(os.path.join(entry.path, "mpconfigboard.h")) as get_name:
+ with open(entry / "mpconfigboard.h") as get_name:
board_contents = get_name.read()
board_name_re = re.search(r"(?<=MICROPY_HW_BOARD_NAME)\s+(.+)",
board_contents)