summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ogRest.py2
-rw-r--r--src/restRequest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index aa3b6e4..9d3fe09 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -239,7 +239,7 @@ class ogRest():
def process_request(self, request, client):
method = request.get_method()
- URI = request.getURI()
+ URI = request.get_uri()
if (not "stop" in URI and
not "reboot" in URI and
diff --git a/src/restRequest.py b/src/restRequest.py
index 59c6aca..8996032 100644
--- a/src/restRequest.py
+++ b/src/restRequest.py
@@ -103,7 +103,7 @@ class restRequest:
def get_method(self):
return self.method
- def getURI(self):
+ def get_uri(self):
return self.URI
def getrun(self):