dynamically fetch the path to the templates

This commit is contained in:
Abel Luck 2022-12-01 17:08:48 +00:00
parent 5632cd69c8
commit 11afd70979
2 changed files with 11 additions and 4 deletions

View file

@ -1 +1,7 @@
from pathlib import Path
__version__ = "0.1.0"
def get_project_root() -> Path:
return Path(__file__).parent