From 299c72023d8ef3ce8208f4ad09defd747e07c7f8 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 19 Feb 2024 13:23:23 +0800 Subject: [PATCH] bugfix --- ahserver/baseProcessor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index c5acf45..9839077 100755 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -133,11 +133,8 @@ class TemplateProcessor(BaseProcessor): async def path_call(self, request, params={}): await self.set_run_env(request, params=params) path = request.path - url = self.resource.entireUrl(request, path) - n_path = self.resource.url2path(url) ns = self.run_ns te = self.run_ns['tmpl_engine'] - # return await te.render(url,**ns) return await te.render(path,**ns) async def datahandle(self,request):