Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander1999-hub committed Sep 10, 2024
1 parent f925a65 commit 25ace9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dedoc/readers/pdf_reader/pdf_base_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,7 @@ def _parse_document(self, path: str, parameters: ParametersForParseDoc) -> (
if page_angles:
metadata["rotated_page_angles"] = page_angles
if parameters.need_gost_frame_analysis and parameters.pdf_with_txt_layer == "false":
self._shift_all_contents(lines=all_lines_with_paragraphs,
mp_tables=mp_tables,
attachments=attachments,
gost_analyzed_images=gost_analyzed_images)
self._shift_all_contents(lines=all_lines_with_paragraphs, mp_tables=mp_tables, attachments=attachments, gost_analyzed_images=gost_analyzed_images)
return all_lines_with_paragraphs, mp_tables, attachments, warnings, metadata

def _shift_all_contents(self, lines: List[LineWithMeta], mp_tables: List[ScanTable], attachments: List[PdfImageAttachment],
Expand Down

0 comments on commit 25ace9a

Please sign in to comment.