Skip to content

Commit

Permalink
fix Jinja2 import error message
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Jul 17, 2014
1 parent c268a7f commit 42c1810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockwart/items/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def content_processor_jinja2(item):
raise TemplateError(_(
"Unable to load Jinja2 (required to render {item}). "
"You probably have to install it using `pip install Jinja2`."
).format(item.id))
).format(item=item.id))

loader = FileSystemLoader(searchpath=item.item_dir)
env = Environment(loader=loader)
Expand Down

0 comments on commit 42c1810

Please sign in to comment.