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
2 changes: 2 additions & 0 deletions src/python_inspector/package_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ async def get_pypi_data_from_purl(


def choose_single_wheel(wheel_urls: List[str]) -> Optional[str]:
# fix Issue 240 - TypeError: '<' not supported between instances of 'str' and 'NoneType'
wheel_urls = [url for url in wheel_urls if url is not None]
"""
Sort wheel urls descendingly and return the first one
"""
Expand Down
Loading