From e79314c65e50c991816733df269517371955e5c2 Mon Sep 17 00:00:00 2001 From: nicolas-f <1382241+nicolas-f@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:34:29 +0200 Subject: [PATCH] too large --- services/pixljs_alert/zero_ble.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/pixljs_alert/zero_ble.py b/services/pixljs_alert/zero_ble.py index 0380e87..3bd39d5 100644 --- a/services/pixljs_alert/zero_ble.py +++ b/services/pixljs_alert/zero_ble.py @@ -105,10 +105,10 @@ def get_rpi_status(): if os.path.exists(calibration_file): with open(calibration_file, "r") as calib: json_doc = json.load(calib) - sensitivity = "%.2f dBFS@94dB" % json_doc["sensitivity"] + sensitivity = "%.1f dBFS@94dB" % json_doc["sensitivity"] except json.JSONDecodeError as e: pass - mic = "OK (%s)" % sensitivity + mic = "OK %s" % sensitivity break except subprocess.CalledProcessError as e: pass