mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-06 20:43:56 -05:00
...
This commit is contained in:
@@ -1650,7 +1650,6 @@ def convert_chapters2audio(id:str)->bool:
|
||||
[f for f in os.listdir(session['chapters_dir_sentences']) if f.endswith(f'.{default_audio_proc_format}')],
|
||||
key=lambda x: int(re.search(r'\d+', x).group())
|
||||
)
|
||||
print(f'----------{existing_sentences}----------')
|
||||
if existing_sentences:
|
||||
resume_sentence = max(int(re.search(r'\d+', f).group()) for f in existing_sentences)
|
||||
msg = f'Resuming from sentence {resume_sentence}'
|
||||
|
||||
Reference in New Issue
Block a user