We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4610465 commit 13f5132Copy full SHA for 13f5132
src/unstructured_client/_hooks/custom/split_pdf_hook.py
@@ -120,7 +120,7 @@ def before_request(
120
last_page_content = io.BytesIO()
121
with ThreadPoolExecutor(max_workers=call_threads) as executor:
122
for page_content, page_number, all_pages_number in pages:
123
- # Check if the next page will be the last one
+ # Check if this page is the last one
124
if page_number == all_pages_number:
125
last_page_content = page_content
126
break
0 commit comments