Fixed initial stream object

This commit is contained in:
Joel Collins 2020-10-16 14:53:10 +01:00
parent b3332c078d
commit c33fb6afc8

View file

@ -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