diff --git a/ahserver/functionProcessor.py b/ahserver/functionProcessor.py index 31b6a0b..cd040fa 100755 --- a/ahserver/functionProcessor.py +++ b/ahserver/functionProcessor.py @@ -18,11 +18,11 @@ class FunctionProcessor(BaseProcessor): async def path_call(self, request, path): path1 = request.path[len(self.config_opts['leading']):] - args = [] + args = [request] if len(path1) > 0: if path1[0] == '/': path1 = path1[1:] - args = path1.split('/') + args += path1.split('/') rfname = self.config_opts['registerfunction']