Update template path.
All checks were successful
Build Base Application / Build (push) Successful in 1m57s

This commit is contained in:
retoor 2024-12-31 20:34:11 +01:00
parent 398498d97f
commit c3b65f5304

View File

@ -47,7 +47,7 @@ class BaseApplication(RPCApplication):
self.template_path = (
template_path
and template_path
or pathlib.Path(__file__).parent / "templates"
or pathlib.Path(__file__).parent.joinpath("templates")
)
self.agents = {}
super().__init__(middlewares=middlewares, *args, **kwargs)