Skip to content

Commit

Permalink
fix: Use PackageLoader instead of FileSystemLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Sep 22, 2023
1 parent 596f06d commit 9171f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mknodes/utils/jinjahelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
)


resources_loader = jinja2.FileSystemLoader(searchpath="mknodes/resources")
resources_loader = jinja2.PackageLoader("mknodes", "resources")
docs_loader = jinja2.FileSystemLoader(searchpath="docs/")
resource_loader = jinja2.ChoiceLoader([resources_loader, docs_loader])

Expand Down

0 comments on commit 9171f38

Please sign in to comment.