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 781fb80..f46a331 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -62,7 +62,7 @@ class restResponse():
class ogThread():
def execcmd(client, request, ogRest):
- if request.getrun() == None:
+ if not request.getrun():
response = restResponse(ogResponses.BAD_REQUEST)
client.send(response.get())
return