diff --git a/flepimop/gempyor_pkg/src/gempyor/_jinja.py b/flepimop/gempyor_pkg/src/gempyor/_jinja.py index 9495996f1..ce086e76b 100644 --- a/flepimop/gempyor_pkg/src/gempyor/_jinja.py +++ b/flepimop/gempyor_pkg/src/gempyor/_jinja.py @@ -19,12 +19,12 @@ # Globals try: - _jinja_environment = Environment(loader=PackageLoader("gempyor", "templates")) + _jinja_environment = Environment(loader=PackageLoader("gempyor")) except ValueError: from os.path import dirname _jinja_environment = Environment( - loader=FileSystemLoader(dirname(__file__) + "/templates") + loader=FileSystemLoader(dirname(__file__).replace("\\", "/") + "/templates") )