winziprint: change temp file name
This commit is contained in:
@ -33,7 +33,7 @@ def convert(input_files: list[str], output_files: str, encoding: str = None, pro
|
||||
if progress:
|
||||
print(f'progress: {i + n + i // BATCH_SIZE + 1}/{steps}', flush=True)
|
||||
all_pages = [p for doc in documents for p in doc.pages]
|
||||
tmp_file_name = f'{output_files}.part.{i:04}'
|
||||
tmp_file_name = f'{output_files}.{i:04}.part'
|
||||
documents[0].copy(all_pages).write_pdf(tmp_file_name)
|
||||
tmp_file_names.append(tmp_file_name)
|
||||
page_nums += [len(doc.pages) for doc in documents]
|
||||
|
Reference in New Issue
Block a user