From d69841ed97e9f9117dab50233555a9bf30af196b Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 9 Mar 2020 17:24:51 +0100 Subject: rename getURI to get_uri in restRequest --- src/ogRest.py | 2 +- src/restRequest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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): -- cgit v1.2.3-18-g5258