This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turns out jinja2.FilesystemLoader can take a list of directories to look for a given filename in, so there's no need to check for the file ourselves. We also now reuse the jinja2.Environment object
- Loading branch information
1 parent
7b674bf
commit 57c64c4
Showing
1 changed file
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters