Skip .part files in audio cache check

This commit is contained in:
2026-03-24 00:01:40 +00:00
parent 1ce8ef71d5
commit 9bc7ea9468

View File

@@ -175,6 +175,9 @@ def main():
print("=== Step 1: Download audio ===")
audio_path = None
for f in out_dir.glob("audio.*"):
if f.suffix == ".part":
print(f" [skip] Ignoring partial download: {f}")
continue
print(f" [cache] Found existing audio: {f}")
audio_path = f
break