summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ogRest.py2
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))