diff --git a/src/openflexure_microscope_server/things/smart_scan.py b/src/openflexure_microscope_server/things/smart_scan.py index 2d8578f6..43da4892 100644 --- a/src/openflexure_microscope_server/things/smart_scan.py +++ b/src/openflexure_microscope_server/things/smart_scan.py @@ -257,7 +257,7 @@ class SmartScanThing(Thing): stitch_name = os.path.basename(stitched_image) shutil.copy( - stitched_image_path, + stitched_image, os.path.join( self.dir_for_scan(self._ongoing_scan_name), stitch_name ),