Fixed args in endpoints

This commit is contained in:
Richard Bowman 2021-02-15 20:18:34 +00:00
parent 069d27bf15
commit b06dd187ec

View file

@ -106,9 +106,7 @@ def find_picamera() -> Tuple[PiCamera, BaseCamera, Microscope]:
class RecalibrateView(ActionView):
args = {}
def post(self, args):
def post(self):
"""Reset the camera's settings.
This generates new gains, exposure time, and lens shading
@ -135,9 +133,7 @@ class RecalibrateView(ActionView):
microscope.save_settings()
class AutoLensShadingTableView(ActionView):
args = {}
def post(self, args):
def post(self):
"""Perform flat-field correction
This routine acquires a new image (which should be an