fixed templates path
This commit is contained in:
parent
749865813f
commit
6d650e3775
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue