Skip to content

Commit 8d727a0

Browse files
committed
Fixup pre-commit
1 parent f24d247 commit 8d727a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/invoice2data/input/pdftotext.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ def to_text(path: str, area_details: Optional[Dict[str, Any]] = None) -> str:
1111
1212
Args:
1313
path (str): Path to the PDF file.
14-
area_details (Optional[Dict[str, Any]], optional):
14+
area_details (Optional[Dict[str, Any]], optional):
1515
Specific area in the PDF to extract text from.
1616
Defaults to None (extract from the entire page).
1717
If provided, should be a dictionary with the following keys:
1818
- "f": First page to extract from
19-
- "l": Last page to extract from
19+
- "l": Last page to extract from
2020
- "x": x-coordinate of the top-left corner of the area to extract (in pixels)
2121
- "y": y-coordinate of the top-left corner of the area to extract (in pixels)
2222
- "W": Width of the area to extract (in pixels)

0 commit comments

Comments
 (0)