From 4250c6a64ff084cd7afadea56b377c00255ed1b5 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 27 Mar 2024 14:22:59 +0200 Subject: [PATCH] FIXUP: Minor rename --- dangerzone/isolation_provider/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dangerzone/isolation_provider/base.py b/dangerzone/isolation_provider/base.py index 1bf6107..3675718 100644 --- a/dangerzone/isolation_provider/base.py +++ b/dangerzone/isolation_provider/base.py @@ -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,