We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25774c1 commit 7aaf86eCopy full SHA for 7aaf86e
custom_components/hacs/repositories/base.py
@@ -688,6 +688,9 @@ async def download_repository_zip(self):
688
and filename != self.content.path.remote
689
):
690
path.filename = filename.replace(self.content.path.remote, "")
691
+ if path.filename == "/":
692
+ # Blank files is not valid, and will start to throw in Python 3.12
693
+ continue
694
extractable.append(path)
695
696
if len(extractable) == 0:
0 commit comments