bugfix
This commit is contained in:
parent
a456113bc7
commit
a0bb3dec12
@ -136,8 +136,9 @@ class TemplateProcessor(BaseProcessor):
|
||||
url = self.resource.entireUrl(request, path)
|
||||
ns = self.run_ns
|
||||
te = self.run_ns['tmpl_engine']
|
||||
print(f'{url=}, {ns=}')
|
||||
return await te.render(url,**ns)
|
||||
print(f'{url=}, {ns=}, {path=}')
|
||||
# return await te.render(url,**ns)
|
||||
return await te.render(path,**ns)
|
||||
|
||||
async def datahandle(self,request):
|
||||
self.content = await self.path_call(request)
|
||||
|
Loading…
Reference in New Issue
Block a user