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