From 736b82d07144dd66539d586eef1d1d8a3598fbb4 Mon Sep 17 00:00:00 2001 From: jaknapper Date: Wed, 7 May 2025 20:31:06 +0100 Subject: [PATCH] Remove logger from zipping --- src/openflexure_microscope_server/things/smart_scan.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/openflexure_microscope_server/things/smart_scan.py b/src/openflexure_microscope_server/things/smart_scan.py index a312b173..2c9f1913 100644 --- a/src/openflexure_microscope_server/things/smart_scan.py +++ b/src/openflexure_microscope_server/things/smart_scan.py @@ -625,9 +625,8 @@ class SmartScanThing(Thing): self._scan_images_taken += 1 # Add it to the incremental zip self.update_zip( - logger=self._scan_logger, - scan_name=self._ongoing_scan_name, - ) + scan_name=self._ongoing_scan_name, + ) @_scan_running def _try_autofocus( @@ -682,7 +681,6 @@ class SmartScanThing(Thing): return self.update_zip( - logger=self._scan_logger, scan_name=self._ongoing_scan_name, final_version=False, )