From 8137646d5ef021d62d2e1cab20015d7674220e83 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 8 Jan 2019 15:48:31 +0000 Subject: [PATCH] Removed redundant function arguments --- openflexure_microscope/camera/pi.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openflexure_microscope/camera/pi.py b/openflexure_microscope/camera/pi.py index a25c53b0..ac4fcf5c 100644 --- a/openflexure_microscope/camera/pi.py +++ b/openflexure_microscope/camera/pi.py @@ -393,11 +393,8 @@ class StreamingCamera(BaseCamera): def capture( self, output, - write_to_file: bool=False, - keep_on_disk: bool=True, - use_video_port: bool=False, - filename: str=None, fmt: str='jpeg', + use_video_port: bool=False, resize: Tuple[int, int]=None): """ Capture a still image to a StreamObject. @@ -407,9 +404,7 @@ class StreamingCamera(BaseCamera): Args: output (CaptureObject/str): Output object to write data bytes to. - write_to_file (bool): Should the StreamObject write to a file, instead of BytesIO stream? use_video_port (bool): Capture from the video port used for streaming. Lower resolution, faster. - filename (str): Name of the stored file. Defaults to timestamp. fmt (str): Format of the capture. resize ((int, int)): Resize the captured image. """