From c33fb6afc80cd8b2e586535ef4324f48a8115cfc Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 16 Oct 2020 14:53:10 +0100 Subject: [PATCH] Fixed initial stream object --- openflexure_microscope/camera/pi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/camera/pi.py b/openflexure_microscope/camera/pi.py index 076241c3..1ef0948e 100644 --- a/openflexure_microscope/camera/pi.py +++ b/openflexure_microscope/camera/pi.py @@ -111,7 +111,7 @@ class PiCameraStreamer(BaseCamera): ) #: str: Path of .npy lens shading table file # Start the stream worker on init - self.stream = None + self.stream = io.BytesIO() # Create a stream object self.start_worker() @property