diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-01-16 11:58:05 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | b9c33f2c83e1d77822140f5105cb1f73447361f9 (patch) | |
tree | 0d15072729479a46edca74b7ac17e699a9c9ab72 /src | |
parent | df98db2c3c11c7b1b96e175dd275bbeb0acb250f (diff) |
Fix echo check for process_shellrun in ogRest
Diffstat (limited to 'src')
-rw-r--r-- | src/ogRest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogRest.py b/src/ogRest.py index ab549d9..b669be4 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -191,7 +191,7 @@ class ogRest(): client.send(restResponse.getResponse(ogResponses.BAD_REQUEST)) return - if httpparser.getEcho() == "true": + if httpparser.getEcho(): jsonResp = jsonResponse() jsonResp.addElement('out', shellout) client.send(restResponse.getResponse(ogResponses.OK, jsonResp)) |