diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index 6f2458d..bcf1f13 100644 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -179,7 +179,7 @@ class BricksAppProcessor(TemplateProcessor): txt = self.content entire_url = self.run_ns.get('entire_url') content0 = await self.resource.path_call(request,entire_url('/bricks/bricksapp.tmpl')) - ac = ArgsConvert("${", "}$" + ac = ArgsConvert("${", "}$") self.content = ac.convert(content0, {'appdic':txt}) class BricksUIProcessor(TemplateProcessor): diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 43fc173..4a0d134 100644 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -38,7 +38,7 @@ from appPublic.i18n import getI18N from appPublic.dictObject import DictObject, multiDict2Dict from appPublic.timecost import TimeCost 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 PythonScriptProcessor, MarkdownProcessor @@ -283,6 +283,7 @@ class ProcessorResource(StaticResource,Url2File): self.y_env.info = info self.y_env.error = error self.y_env.debug = debug + self.y_env.clientinfo = clientinfo self.y_env.warning = warning self.y_env.critical = critical self.y_env.exception = exception