bugfix
This commit is contained in:
parent
1700dbe546
commit
299c72023d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user