diff --git a/audiblez.py b/audiblez.py index cd5f3f7..f31ea14 100755 --- a/audiblez.py +++ b/audiblez.py @@ -58,6 +58,7 @@ def main(kokoro, file_path, lang, voice, pick_manually, speed): if len(text.strip()) < 10: print(f'Skipping empty chapter {i}') i += 1 + chapter_mp3_files.remove(chapter_filename) continue print(f'Reading chapter {i} ({len(text):,} characters)...') if i == 1: