Updated jinja env.
All checks were successful
Build Base Application / Build (push) Successful in 2m5s

This commit is contained in:
retoor 2025-01-24 12:13:01 +01:00
parent 5e9c937313
commit 4a911b64fc

View File

@ -51,7 +51,7 @@ class BaseApplication(RPCApplication):
) )
self.agents = {} self.agents = {}
super().__init__(middlewares=middlewares, *args, **kwargs) super().__init__(middlewares=middlewares, *args, **kwargs)
aiohttp_jinja2.setup(self, loader=jinja2.FileSystemLoader(self.template_path)) self.jinja2_env = aiohttp_jinja2.setup(self, loader=jinja2.FileSystemLoader(self.template_path))
def run(self, *args, **kwargs): def run(self, *args, **kwargs):
if kwargs.get("port"): if kwargs.get("port"):