diff options
Diffstat (limited to 'src/ogRest.py')
-rw-r--r-- | src/ogRest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ogRest.py b/src/ogRest.py index cf7a4ee..c18b9f3 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -178,7 +178,9 @@ class ogRest(): threading.Thread(target=ogThread.poweroff).start() def process_probe(self, client): - client.send(restResponse.getResponse(ogResponses.OK)) + jsonResp = jsonResponse() + jsonResp.addElement('status', 'OPG') + client.send(restResponse.getResponse(ogResponses.OK, jsonResp)) def process_shellrun(self, client, httpparser): if httpparser.getCMD() == None: |