Fixed malformed JSONIFY task responses

This commit is contained in:
Joel Collins 2019-04-08 08:10:57 +01:00
parent 10bafe1281
commit edc5e7c241
3 changed files with 4 additions and 4 deletions

View file

@ -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):