diff options
Diffstat (limited to 'app/converter/audio.py')
| -rw-r--r-- | app/converter/audio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/converter/audio.py b/app/converter/audio.py index 90ce5ca..def4395 100644 --- a/app/converter/audio.py +++ b/app/converter/audio.py @@ -564,7 +564,8 @@ def combine_chapters_to_m4b(chapter_files: List[Path], titles: List[str], chapters = [] start_ms = 0 with open(concat_list, "w", encoding="utf-8") as list_file: - for chapter_file, title in zip(chapter_files, titles): + for chapter_file, title in zip(chapter_files, titles, + strict=False): list_file.write(f"file '{_concat_escape(str(chapter_file))}'\n") duration_ms = probe_duration_ms(chapter_file) end_ms = start_ms + duration_ms |
