From 3c754669c34b627cbc0f38d2e1540ec0321127e0 Mon Sep 17 00:00:00 2001 From: CPD Date: Thu, 13 Mar 2025 15:43:50 +0100 Subject: [PATCH] Add log message --- cpdctrl/measurement.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpdctrl/measurement.py b/cpdctrl/measurement.py index df5f975..2c7791f 100644 --- a/cpdctrl/measurement.py +++ b/cpdctrl/measurement.py @@ -134,7 +134,8 @@ def measure( log.info(f"Received 'stop', stopping measurement") break elif type(recv) == tuple and recv[0] == "led_script": - led_script = recv[1] + log.info(f"Received 'led_script', replacing script") + led_script = recv[1] else: log.error(f"Received invalid message: '{recv}'")