diff --git a/aiohttp_debugtoolbar/panels/versions.py b/aiohttp_debugtoolbar/panels/versions.py index 671d0638..803ea6fd 100644 --- a/aiohttp_debugtoolbar/panels/versions.py +++ b/aiohttp_debugtoolbar/panels/versions.py @@ -41,7 +41,7 @@ def get_packages(cls) -> List[Dict[str, str]]: for distribution in Distribution.discover(): name = distribution.metadata["Name"] dependencies = [d for d in distribution.requires or ()] - url = distribution.metadata["Home-page"] + url = distribution.metadata.get("Home-page") packages.append( {