Fix indentation and formatting in page_index.py

This commit is contained in:
Savio Dsouza 2026-07-11 19:56:33 +05:30 committed by GitHub
parent 2e0c7b0e3b
commit 9470b63960
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -784,8 +784,8 @@ def process_toc_no_page_numbers(toc_content, toc_page_list, page_list, start_in
if int(m.group(1)) not in valid_indices:
continue
current["physical_index"] = raw
toc_with_page_number = list(current_entries.values())
current["physical_index"] = raw
toc_with_page_number = list(current_entries.values())
logger.info(f'add_page_number_to_toc: {toc_with_page_number}')
toc_with_page_number = convert_physical_index_to_int(toc_with_page_number)