From cbed9b319e9e80bba9742bca94cc38ab27faa3b6 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 22 Nov 2019 13:41:56 +0000 Subject: [PATCH] Fixed unneeded operation parameter --- openflexure_microscope/api/v2/blueprints/actions/camera.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openflexure_microscope/api/v2/blueprints/actions/camera.py b/openflexure_microscope/api/v2/blueprints/actions/camera.py index 8dcc1386..3b899102 100644 --- a/openflexure_microscope/api/v2/blueprints/actions/camera.py +++ b/openflexure_microscope/api/v2/blueprints/actions/camera.py @@ -103,7 +103,7 @@ class GPUPreviewStartAPI(MicroscopeView): Start the onboard GPU preview. """ - def post(self, operation): + def post(self): """ Start the onboard GPU preview. Optional "window" parameter can be passed to control the position and size of the preview window, @@ -149,7 +149,7 @@ class GPUPreviewStopAPI(MicroscopeView): Stop the onboard GPU preview. """ - def post(self, operation): + def post(self): """ Stop the onboard GPU preview.