diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-12-05 12:12:45 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-12-05 12:12:45 +0100 |
commit | e749bd08958a462f57b8492721a04128468656d0 (patch) | |
tree | 1c3c7801ccc8985f7f4393daf8d275c5eed4a717 /python/gui/api.py | |
parent | 31b65e41043900c0cadd80961f4b22cdfc171e7d (diff) | |
download | dabmod-e749bd08958a462f57b8492721a04128468656d0.tar.gz dabmod-e749bd08958a462f57b8492721a04128468656d0.tar.bz2 dabmod-e749bd08958a462f57b8492721a04128468656d0.zip |
Get calibration to work with GUI
Diffstat (limited to 'python/gui/api.py')
-rwxr-xr-x | python/gui/api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/gui/api.py b/python/gui/api.py index 0d24bac..bff224e 100755 --- a/python/gui/api.py +++ b/python/gui/api.py @@ -134,5 +134,6 @@ class API: if cherrypy.request.method == 'POST': return self._wrap_dpd("calibrate") else: - return self._wrap_dpd("get_calibration_result") + cherrypy.response.status = 400 + return send_error("POST only") |