bugfix
This commit is contained in:
parent
4a81516742
commit
27fe0dff96
@ -161,12 +161,11 @@ class BricksUIProcessor(TemplateProcessor):
|
|||||||
print(f'{self.content=}')
|
print(f'{self.content=}')
|
||||||
if params.get('_webbricks_',None):
|
if params.get('_webbricks_',None):
|
||||||
return
|
return
|
||||||
else:
|
txt = self.content
|
||||||
txt = self.content
|
entire_url = self.run_ns.get('entire_url')
|
||||||
entire_url = self.run_ns.get('entire_url')
|
content0 = await self.resource.path_call(request,entire_url('/bricks/header.tmpl'))
|
||||||
content0 = await self.resource.path_call(request,entire_url('/header.tmpl'))
|
content2 = await self.resource.path_call(request,entire_url('/bricks/footer.tmpl'))
|
||||||
content2 = await self.resource.path_call(request,entire_url('/footer.tmpl'))
|
self.content = '%s%s%s' % (content0, txt, content2)
|
||||||
self.content = '%s%s%s' % (content0, txt, content2)
|
|
||||||
|
|
||||||
class PythonScriptProcessor(BaseProcessor):
|
class PythonScriptProcessor(BaseProcessor):
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user