From 9c09da4123c4682e6403de06e7f6897032398d0f Mon Sep 17 00:00:00 2001 From: Ian O'Hara Date: Mon, 20 Jan 2025 16:09:50 -0800 Subject: [PATCH] fix(MultiPointWorker): logging in update_use_piezo had a missing format in string (#77) See title. Tested by: Running an acquisition, spamming start/stop, and making sure no exception is thrown by this. --- software/control/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/control/core/core.py b/software/control/core/core.py index 1a32a38f..3a793dae 100644 --- a/software/control/core/core.py +++ b/software/control/core/core.py @@ -1459,7 +1459,7 @@ def update_stats(self, new_stats): def update_use_piezo(self, value): self.use_piezo = value - self._log.info("MultiPointWorker: updated use_piezo to", value) + self._log.info(f"MultiPointWorker: updated use_piezo to {value}") def run(self): self.start_time = time.perf_counter_ns()