diff --git a/custom_components/hacs/repositories/base.py b/custom_components/hacs/repositories/base.py index c5874c36c5a..4af6fb00c34 100644 --- a/custom_components/hacs/repositories/base.py +++ b/custom_components/hacs/repositories/base.py @@ -688,6 +688,9 @@ async def download_repository_zip(self): and filename != self.content.path.remote ): path.filename = filename.replace(self.content.path.remote, "") + if path.filename == "/": + # Blank files is not valid, and will start to throw in Python 3.12 + continue extractable.append(path) if len(extractable) == 0: