From 703e7aa386e8b27d1aaa4340aa8038e15bd87d7a Mon Sep 17 00:00:00 2001 From: Guilhem Allaman <40383801+gounux@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:44:26 +0200 Subject: [PATCH] fix header check unused variables (#229) fix https://github.com/geotribu/website/actions/runs/9781240695/job/27004841024?pr=1143 Co-authored-by: gounux --- geotribu_cli/content/header_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geotribu_cli/content/header_check.py b/geotribu_cli/content/header_check.py index e9b708e..750d2d7 100644 --- a/geotribu_cli/content/header_check.py +++ b/geotribu_cli/content/header_check.py @@ -255,8 +255,8 @@ def run(args: argparse.Namespace) -> None: ): msg = ( f"Les dimensions de l'image ne sont pas dans l'intervalle autorisé " - f"(w:{args.min_image_width}-{args.max_image_width}," - f"h:{args.min_image_height}-{args.max_image_height})" + f"(largeur max: {args.max_image_width}," + f"hauteur max: {args.max_image_height})" ) logger.error(msg) if args.raise_exceptions: