Loading openflexure_microscope/camera/base.py +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ class BaseCamera(object): self.close() def close(self): """Handles closing the StreamingCamera""" """Close the BaseCamera and all attached StreamObjects""" # Close all StreamObjects for capture_list in [self.images, self.videos]: for stream_object in capture_list: Loading openflexure_microscope/camera/pi.py +3 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,9 @@ class StreamingCamera(BaseCamera): """Run any initialisation code when the frame iterator starts.""" pass def close(self): """Close the Raspberry Pi StreamingCamera""" BaseCamera.close(self) # Run BaseCamera close method # HANDLE SETTINGS Loading Loading
openflexure_microscope/camera/base.py +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ class BaseCamera(object): self.close() def close(self): """Handles closing the StreamingCamera""" """Close the BaseCamera and all attached StreamObjects""" # Close all StreamObjects for capture_list in [self.images, self.videos]: for stream_object in capture_list: Loading
openflexure_microscope/camera/pi.py +3 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,9 @@ class StreamingCamera(BaseCamera): """Run any initialisation code when the frame iterator starts.""" pass def close(self): """Close the Raspberry Pi StreamingCamera""" BaseCamera.close(self) # Run BaseCamera close method # HANDLE SETTINGS Loading