Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mpbuild/board_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ def directory(self) -> Path:
return directory_

@property
def deploy_filename(self) -> Path:
def deploy_filename(self) -> Path | None:
"""
Returns the filename of the deploy-markdown.
Returns the filename of the deploy-markdown, or None.
"""
return self.directory / self.deploy[0]
return self.directory / self.deploy[0] if self.deploy else None

# TODO(mst): Update Variant to allow comparisons to strings. This method can
# then be removed.
Expand Down