From 7d2fd02fb2c10d4128717dc9c7f2c51551aa7e19 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 19 Feb 2024 13:55:31 +0800 Subject: [PATCH] bugfix --- ahserver/baseProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index 0d714ab..d561ccc 100755 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -187,7 +187,7 @@ class PythonScriptProcessor(BaseProcessor): await self.set_run_env(request, params=params) lenv = self.run_ns del lenv['request'] - filename = self.url2file(request.path) + filename = self.resource.url2file(request.path) print(f'ScriptProcessor():{filename=}, {self.real_path=}') txt = await self.loadScript(filename) # print(self.real_path, "#########", txt)