diff options
author | Alexander Kabui | 2022-02-01 18:43:57 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-02-02 10:59:34 +0300 |
commit | 0f9e3a24b120db9c00e8b6be93194c2be392a3ab (patch) | |
tree | c5ef61a2e05ea03ec8adfd741b65abedf5a514d5 /gn3 | |
parent | eaf06778297c4a8f240bba0f3b0dd6a4621f237f (diff) | |
download | genenetwork3-0f9e3a24b120db9c00e8b6be93194c2be392a3ab.tar.gz |
response object error fix
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/ctl.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |