mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-05-13 16:52:37 +02:00
chore: remove unused ext local in PDF image block handling
Filename is always built as `.png` regardless of the source ext, so the variable was dead. Flagged by github-code-quality.
This commit is contained in:
parent
3595956f7c
commit
cbea31d1a2
1 changed files with 0 additions and 1 deletions
|
|
@ -73,7 +73,6 @@ class PdfParser:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
image_bytes = block.get("image")
|
image_bytes = block.get("image")
|
||||||
ext = block.get("ext", "png")
|
|
||||||
if not image_bytes:
|
if not image_bytes:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue