Fixed args in endpoints
This commit is contained in:
parent
069d27bf15
commit
b06dd187ec
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue