mirror of https://git.48k.eu/ogclient
rename getURI to get_uri in restRequest
parent
5964e48df9
commit
d69841ed97
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue