summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogRest.py')
-rw-r--r--src/ogRest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index 2e5c7a7..a4a7d6f 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -61,7 +61,7 @@ class restResponse():
class ogThread():
# Executing cmd thread
def execcmd(client, httpparser, ogRest):
- if httpparser.getCMD() == None:
+ if httpparser.getrun() == None:
client.send(restResponse.getResponse(ogResponses.BAD_REQUEST))
return