diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-01-18 13:57:48 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | 8e54420dfd58f2c2178888b1deff0f791d670db2 (patch) | |
tree | be57ee14f9a56a1bea535601dd75878647e71974 /src/ogRest.py | |
parent | 51ad896deea2d2297a55d89bcae69c1fe369c895 (diff) |
(Clean-Up) Rename cmd function/variables to use "run" syntax
Diffstat (limited to 'src/ogRest.py')
-rw-r--r-- | src/ogRest.py | 2 |
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 |