From 08de5b6bd25712b608606d91057a1b139a4629cb Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Sat, 5 Jul 2025 18:31:45 +0500 Subject: [PATCH] checkbox in report --- _funcs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_funcs.py b/_funcs.py index 1d0c561..d1f538f 100644 --- a/_funcs.py +++ b/_funcs.py @@ -76,7 +76,7 @@ def simple_result_from_approx_wh(width_f: float, height_f: _t_number, step: int, square_side_f = _sqrt(float(width * height)) square_side = int(square_side_f + 0.5) square_side_text = ( - f"={square_side}x{square_side}" + f"✅={square_side}x{square_side}" if (square_side * square_side == width * height) else f"~{square_side}x{square_side}" ) @@ -84,7 +84,7 @@ def simple_result_from_approx_wh(width_f: float, height_f: _t_number, step: int, ar_desired = width_f / height_f ar_real = float(width) / height ar_text = ( - "AR: perfect match" + "AR: ✅ perfect match" if abs(ar_desired - ar_real) < 0.0005 else f"AR goal/real: {ar_desired:.3f}/{ar_real:.3f}" )