From 9c04b7c50ef0e4f67f8a77804b6f8f417c2a3bae Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 6 Aug 2024 18:02:26 +0800 Subject: [PATCH] bugfix --- ahserver/functionProcessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']