Skip to content

Commit 6b44370

Browse files
remove unnecessary map function
1 parent abfd803 commit 6b44370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unstructured/partition/pdf_image/pdfminer_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def process_data_with_pdfminer(
119119
image_layout.append(text_region)
120120
links = [
121121
{
122-
"bbox": list(map(lambda x: x * coef, metadata["bbox"])),
122+
"bbox": [x * coef for x in metadata["bbox"]],
123123
"text": metadata["text"],
124124
"url": metadata["uri"],
125125
"start_index": metadata["start_index"],

0 commit comments

Comments
 (0)