From 6ba6f0ed5da8ca60dce1e27f1bc1421d4f8db36a Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 31 Dec 2024 19:34:11 +0000 Subject: [PATCH] fix: correct template path resolution in render function to use absolute project root --- src/app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.py b/src/app/app.py index bfcaafc..4d605d1 100644 --- a/src/app/app.py +++ b/src/app/app.py @@ -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)