We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d3572b commit f16e54eCopy full SHA for f16e54e
src/main.py
@@ -402,7 +402,7 @@ def main():
402
oto_ini = utaupy.otoini.load(str(temp_dir / "oto.ini"))
403
wav_files = list(temp_dir.glob("*.wav"))
404
with tqdm.tqdm(total=len(wav_files)) as pbar:
405
- for wav_file in temp_dir.glob("*.wav"):
+ for wav_file in wav_files:
406
otos: list[utaupy.otoini.Oto] = remove_duplicate_otos(
407
list(filter(lambda oto: oto.filename == wav_file.name, oto_ini))
408
)
@@ -907,6 +907,7 @@ def main():
907
print("Phase 3-1: Normalizing volume...")
908
print()
909
910
+ wav_files = list(temp_dir.glob("*.wav"))
911
912
for wav_file in wav_files:
913
audio: AudioSegment = AudioSegment.from_file(wav_file)
0 commit comments