fixed templates path

This commit is contained in:
Stanislas Jouffroy 2025-06-13 23:33:40 +02:00
parent 749865813f
commit 6d650e3775

View file

@ -21,7 +21,7 @@ load_dotenv()
logger = get_logger(__name__) logger = get_logger(__name__)
templates_path = Path(__file__).parent / "templates" templates_path = Path(__file__).parent
env = Environment( env = Environment(
loader=FileSystemLoader(templates_path), autoescape=select_autoescape() loader=FileSystemLoader(templates_path), autoescape=select_autoescape()
) )