mirror of https://git.48k.eu/ogclient
Fix echo check for process_shellrun in ogRest
parent
df98db2c3c
commit
b9c33f2c83
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue