Skip to content

Commit

Permalink
+ fixed a bug in load_template_source where the template_loader param…
Browse files Browse the repository at this point in the history
…eter was not being used.
  • Loading branch information
John Boxall committed May 18, 2009
1 parent 9a349fd commit 95cddcd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions loaders.py
Expand Up @@ -8,8 +8,7 @@ def load_template_source(template_name, template_dirs=None,
request = get_current_request()
test_template_name = request.ab.run(template_name)

return default_template_loader(test_template_name,
template_dirs=template_dirs)
return template_loader(test_template_name, template_dirs=template_dirs)
load_template_source.is_usable = True


0 comments on commit 95cddcd

Please sign in to comment.