Skip to content

Commit 13f5132

Browse files
Fixed comment
1 parent 4610465 commit 13f5132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unstructured_client/_hooks/custom/split_pdf_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def before_request(
120120
last_page_content = io.BytesIO()
121121
with ThreadPoolExecutor(max_workers=call_threads) as executor:
122122
for page_content, page_number, all_pages_number in pages:
123-
# Check if the next page will be the last one
123+
# Check if this page is the last one
124124
if page_number == all_pages_number:
125125
last_page_content = page_content
126126
break

0 commit comments

Comments
 (0)