From 386f85d0a1f4fc8518028bf33e76f5524c885b06 Mon Sep 17 00:00:00 2001 From: jtc42 Date: Fri, 24 Jan 2020 15:41:21 +0000 Subject: [PATCH] Fixed default target --- openflexure_microscope/camera/mock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/camera/mock.py b/openflexure_microscope/camera/mock.py index 4f614b1a..abffb221 100644 --- a/openflexure_microscope/camera/mock.py +++ b/openflexure_microscope/camera/mock.py @@ -192,7 +192,7 @@ class MockStreamer(BaseCamera): if isinstance(output, CaptureObject): target = output.file else: - target = target + target = output with self.lock: if isinstance(target, str):