Fixed malformed JSONIFY task responses
This commit is contained in:
parent
10bafe1281
commit
edc5e7c241
3 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ class RecalibrateAPIView(MicroscopeViewPlugin):
|
|||
task = self.microscope.task.start(self.plugin.recalibrate)
|
||||
|
||||
# Return a handle on the autofocus task
|
||||
return jsonify(task.state, 202)
|
||||
return jsonify(task.state), 202
|
||||
|
||||
|
||||
class Plugin(MicroscopePlugin):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue