From b566ee4c677cb3aacc0dc55ad2eba31baecad748 Mon Sep 17 00:00:00 2001 From: CPD Date: Mon, 17 Mar 2025 18:14:47 +0100 Subject: [PATCH] Add log --- cpdctrl/led_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpdctrl/led_script.py b/cpdctrl/led_script.py index e1ee035..837f9e5 100644 --- a/cpdctrl/led_script.py +++ b/cpdctrl/led_script.py @@ -306,8 +306,8 @@ class LedScript: raise InvalidScriptUpdate(f"Cannot update row {idx+1} because with the new duration it would be skipped") self.script["dt"][idx] = dt self.script["led"][idx] = led + log.info(f"Updated row {idx+1} with values dt={dt}, led={led}") self._update_script_dtsums(idx) - log.critical("Updated!") def _update_script_dtsums(self, from_idx: int): for i in range(from_idx, self.script["dtsum"].shape[0]):