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