diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index c64c78b..d5233f1 100644 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -129,8 +129,11 @@ class JSUIProcessor(TemplateProcessor): else: ns = self.run_ns te = self.run_ns['tmpl_engine'] + print('handle /header.tmpl') content0 = te.render('/header.tmpl',**ns) - content1 = te.render(self.path, **ns) + print('handle', self.path) + content1 = te.render(request.path, **ns) + print('handle footer.tmpl') content2 = te.render('/footer.tmpl',**ns) self.content = '%s%s%s' % (content0,content1,content2)