diff --git a/netkan/netkan/metadata.py b/netkan/netkan/metadata.py index f9b1e5b..45e660b 100644 --- a/netkan/netkan/metadata.py +++ b/netkan/netkan/metadata.py @@ -366,7 +366,7 @@ def version(self) -> Version: def download(self) -> str: download = self._raw.get('download') if isinstance(download, list): - return download[0] if len(download) > 0 else None + return download[0] if isinstance(download[0], str) and len(download) > 0 else None return download # Provide all downloads with alternate property in case we need them,