From 0f9e3a24b120db9c00e8b6be93194c2be392a3ab Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Tue, 1 Feb 2022 18:43:57 +0300 Subject: response object error fix --- gn3/api/ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3') diff --git a/gn3/api/ctl.py b/gn3/api/ctl.py index 2157b24..ac33d63 100644 --- a/gn3/api/ctl.py +++ b/gn3/api/ctl.py @@ -20,5 +20,5 @@ def run_ctl(): (cmd_results, response) = call_ctl_script(ctl_data) return (jsonify({ - "results": results + "results": response }), 200) if response is not None else (jsonify({"error": str(cmd_results)}), 401) -- cgit v1.2.3