Skip to content

Commit

Permalink
Fix download URL for release assets (#2520)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Feb 20, 2022
1 parent 5d61a39 commit ccd3835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hacs/repositories/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ async def download_zip_files(self, validate) -> None:
async def async_download_zip_file(self, content, validate) -> None:
"""Download ZIP archive from repository release."""
try:
filecontent = await self.hacs.async_download_file(content.download_url)
filecontent = await self.hacs.async_download_file(content.browser_download_url)

if filecontent is None:
validate.errors.append(f"[{content.name}] was not downloaded")
Expand Down

0 comments on commit ccd3835

Please sign in to comment.