FIXUP: Minor rename

This commit is contained in:
Alex Pyrgiotis 2024-03-27 14:22:59 +02:00
parent 8e6e4a3b44
commit 4250c6a64f
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -169,7 +169,7 @@ class IsolationProvider(ABC):
tessdata=get_tessdata_dir(),
)
def _pixels_to_pdf(
def pixels_to_pdf_page(
self,
untrusted_data: bytes,
untrusted_width: int,
@ -247,7 +247,7 @@ class IsolationProvider(ABC):
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,