bugfix
This commit is contained in:
parent
734a8c210c
commit
9c04b7c50e
@ -18,11 +18,11 @@ class FunctionProcessor(BaseProcessor):
|
|||||||
|
|
||||||
async def path_call(self, request, path):
|
async def path_call(self, request, path):
|
||||||
path1 = request.path[len(self.config_opts['leading']):]
|
path1 = request.path[len(self.config_opts['leading']):]
|
||||||
args = []
|
args = [request]
|
||||||
if len(path1) > 0:
|
if len(path1) > 0:
|
||||||
if path1[0] == '/':
|
if path1[0] == '/':
|
||||||
path1 = path1[1:]
|
path1 = path1[1:]
|
||||||
args = path1.split('/')
|
args += path1.split('/')
|
||||||
|
|
||||||
|
|
||||||
rfname = self.config_opts['registerfunction']
|
rfname = self.config_opts['registerfunction']
|
||||||
|
Loading…
Reference in New Issue
Block a user