refactor(WVD): Seperate logs in loop for visual clarity

This commit is contained in:
rlaphoenix 2024-04-01 18:35:56 +01:00
parent f683be01d4
commit f99fad8e15
1 changed files with 5 additions and 1 deletions

View File

@ -124,7 +124,11 @@ def dump(wvd_paths: list[Path], out_dir: Path) -> None:
if wvd_paths == ():
wvd_paths = list(config.directories.wvds.iterdir())
for wvd_path, out_path in zip(wvd_paths, (out_dir / x.stem for x in wvd_paths)):
for i, (wvd_path, out_path) in enumerate(zip(wvd_paths, (out_dir / x.stem for x in wvd_paths))):
if i > 0:
log.info("")
try:
named = not wvd_path.suffix and wvd_path.relative_to(Path(""))
except ValueError: