Script: Ignore images.zip

This commit is contained in:
lovetox
2022-05-08 14:41:00 +02:00
parent 5f754a6fa8
commit 4c2e4d2006

View File

@@ -49,6 +49,9 @@ def is_manifest_valid(manifest: Dict[str, Any]) -> bool:
def iter_releases(release_folder: Path) -> Iterator[Dict[str, Any]]:
for path in release_folder.rglob('*.zip'):
with ZipFile(path) as release_zip:
if path.name == 'images.zip':
continue
log.info('Check path: %s', path)
try:
with release_zip.open('plugin-manifest.json') as file:
manifest = json.load(file)