Fixed RecalibrateAPIView POST task
This commit is contained in:
parent
dd82528d78
commit
b1a38170a1
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ from .recalibrate_utils import recalibrate_camera, auto_expose_and_freeze_settin
|
|||
class RecalibrateAPIView(MicroscopeViewPlugin):
|
||||
def post(self):
|
||||
logging.info("Starting microscope recalibration...")
|
||||
task = taskify(self.plugin.recalibrate)
|
||||
task = taskify(self.plugin.recalibrate)()
|
||||
|
||||
# Return a handle on the autofocus task
|
||||
return jsonify(task.state), 202
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue