From e749bd08958a462f57b8492721a04128468656d0 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 5 Dec 2018 12:12:45 +0100 Subject: Get calibration to work with GUI --- python/gui/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/gui/api.py') 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") -- cgit v1.2.3