From 9b016a76b29ffdb8ef8711bc8956374b917dbea2 Mon Sep 17 00:00:00 2001 From: jtc42 Date: Fri, 19 Apr 2019 09:05:57 +0100 Subject: [PATCH] Removed redundant capture initialisation --- openflexure_microscope/camera/capture.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/openflexure_microscope/camera/capture.py b/openflexure_microscope/camera/capture.py index 04483b25..58f70e90 100644 --- a/openflexure_microscope/camera/capture.py +++ b/openflexure_microscope/camera/capture.py @@ -171,9 +171,6 @@ class CaptureObject(object): self.temporary = True # Flag file to be removed on close. self.context_manager = True # Used in metadata - logging.info("Rebuilding as a temporary capture...") - self.initialise_capture() - return self def __exit__(self, *args):