Chore: drop dead code left in zone OCR

This commit is contained in:
stumpylog committed 2026-11-20 11:39:08 -08:00
1 parent 17d5cb8855
commit 4d714f263b
3 files changed
+2 -3

No files matched your search

-1
View File
@@ -29,7 +29,6 @@ class DocumentsConfig(AppConfig):
document_consumption_finished.connect(run_workflows_added)
document_consumption_finished.connect(add_to_index)
document_consumption_finished.connect(add_or_update_document_in_llm_index)
document_updated.connect(run_workflows_updated)
document_updated.connect(send_websocket_document_updated)
document_updated.connect(add_or_update_document_in_llm_index)
+1 -1
View File
@@ -3755,7 +3755,7 @@ class TestRenderPages:
- Only the in range pages are rendered, in order, as 1-based pages
at 300 DPI with a 60 second timeout
"""
pages = _render_pages(pdf, {-1, 0, 2, 3}, tmp_path, 3, is_image=False)
pages = _render_pages(pdf, {0, 2, 3}, tmp_path, 3, is_image=False)
assert list(pages) == [0, 2]
assert mock_rasterize.call_count == 2
+1 -1
View File
@@ -753,7 +753,7 @@ def _render_pages(
return result
for actual_page in sorted(pages):
if actual_page < 0 or (page_count and actual_page >= page_count):
if page_count and actual_page >= page_count:
continue
rendered = tmp_dir / f"page_{actual_page}.png"