Skip to content

Commit

Permalink
FIXUP: Minor rename
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Mar 27, 2024
1 parent a9f9513 commit ae9090d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dangerzone/isolation_provider/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def ocr_page(self, pixmap: fitz.Pixmap, ocr_lang: str) -> bytes:
tessdata=get_tessdata_dir(),
)

def _pixels_to_pdf(
def pixels_to_pdf_page(
self,
untrusted_data: bytes,
untrusted_width: int,
Expand Down Expand Up @@ -224,7 +224,7 @@ def _convert(
percentage += step
self.print_progress(document, False, text, percentage)

page_pdf = self._pixels_to_pdf(
page_pdf = self.pixels_to_pdf_page(
untrusted_pixels,
width,
height,
Expand Down

0 comments on commit ae9090d

Please sign in to comment.