mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
FIXUP: Minor rename
This commit is contained in:
parent
8e6e4a3b44
commit
4250c6a64f
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ class IsolationProvider(ABC):
|
||||||
tessdata=get_tessdata_dir(),
|
tessdata=get_tessdata_dir(),
|
||||||
)
|
)
|
||||||
|
|
||||||
def _pixels_to_pdf(
|
def pixels_to_pdf_page(
|
||||||
self,
|
self,
|
||||||
untrusted_data: bytes,
|
untrusted_data: bytes,
|
||||||
untrusted_width: int,
|
untrusted_width: int,
|
||||||
|
@ -247,7 +247,7 @@ class IsolationProvider(ABC):
|
||||||
percentage += step
|
percentage += step
|
||||||
self.print_progress(document, False, text, percentage)
|
self.print_progress(document, False, text, percentage)
|
||||||
|
|
||||||
page_pdf = self._pixels_to_pdf(
|
page_pdf = self.pixels_to_pdf_page(
|
||||||
untrusted_pixels,
|
untrusted_pixels,
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
|
|
Loading…
Reference in a new issue