summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-03-09 17:24:51 +0100
committerAlvaro Neira Ayuso <aneira@soleta.eu>2020-03-09 18:10:57 +0100
commitd69841ed97e9f9117dab50233555a9bf30af196b (patch)
treeca3cbaa9bbed71e7a4934f74f1b8e472955364a9 /src
parent5964e48df99af29ee6c655777b88ef4402d92f5d (diff)
rename getURI to get_uri in restRequest
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):