Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion monailabel/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


def is_package_installed(name):
return name in (x.metadata.get("Name") for x in distributions())
return name in (x.metadata.get("Name") for x in distributions() if x.metadata is not None)


class Settings(BaseSettings):
Expand Down
Loading