From 4fb1bb4de6afe923819d8ff333beabf461dc0fb7 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 30 Jun 2024 00:08:31 -0700 Subject: [PATCH] pipeline: fix typo in message --- src/ocrmypdf/_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocrmypdf/_pipeline.py b/src/ocrmypdf/_pipeline.py index 043a78a0..e66762e7 100644 --- a/src/ocrmypdf/_pipeline.py +++ b/src/ocrmypdf/_pipeline.py @@ -475,7 +475,7 @@ def calculate_raster_dpi(page_context: PageContext): page_dpi = get_page_square_dpi(page_context, image_dpi) if dpi_profile and dpi_profile.average_to_max_dpi_ratio < 0.8: log.warning( - "Weight average image DPI is %0.1f, max DPI is %0.1f. " + "Weighted average image DPI is %0.1f, max DPI is %0.1f. " "The discrepancy may indicate a high detail region on this page, " "but could also indicate a problem with the input PDF file. " "Page image will be rendered at %0.1f DPI.",