bugfix
This commit is contained in:
parent
ebaafec95a
commit
bc883e3b86
@ -179,7 +179,7 @@ class BricksAppProcessor(TemplateProcessor):
|
|||||||
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/bricksapp.tmpl'))
|
content0 = await self.resource.path_call(request,entire_url('/bricks/bricksapp.tmpl'))
|
||||||
ac = ArgsConvert("${", "}$"
|
ac = ArgsConvert("${", "}$")
|
||||||
self.content = ac.convert(content0, {'appdic':txt})
|
self.content = ac.convert(content0, {'appdic':txt})
|
||||||
|
|
||||||
class BricksUIProcessor(TemplateProcessor):
|
class BricksUIProcessor(TemplateProcessor):
|
||||||
|
@ -38,7 +38,7 @@ from appPublic.i18n import getI18N
|
|||||||
from appPublic.dictObject import DictObject, multiDict2Dict
|
from appPublic.dictObject import DictObject, multiDict2Dict
|
||||||
from appPublic.timecost import TimeCost
|
from appPublic.timecost import TimeCost
|
||||||
from appPublic.timeUtils import timestampstr
|
from appPublic.timeUtils import timestampstr
|
||||||
from appPublic.log import info, debug, warning, error, critical, exception
|
from appPublic.log import clientinfo, info, debug, warning, error, critical, exception
|
||||||
|
|
||||||
from .baseProcessor import getProcessor, BricksUIProcessor, TemplateProcessor
|
from .baseProcessor import getProcessor, BricksUIProcessor, TemplateProcessor
|
||||||
from .baseProcessor import PythonScriptProcessor, MarkdownProcessor
|
from .baseProcessor import PythonScriptProcessor, MarkdownProcessor
|
||||||
@ -283,6 +283,7 @@ class ProcessorResource(StaticResource,Url2File):
|
|||||||
self.y_env.info = info
|
self.y_env.info = info
|
||||||
self.y_env.error = error
|
self.y_env.error = error
|
||||||
self.y_env.debug = debug
|
self.y_env.debug = debug
|
||||||
|
self.y_env.clientinfo = clientinfo
|
||||||
self.y_env.warning = warning
|
self.y_env.warning = warning
|
||||||
self.y_env.critical = critical
|
self.y_env.critical = critical
|
||||||
self.y_env.exception = exception
|
self.y_env.exception = exception
|
||||||
|
Loading…
Reference in New Issue
Block a user