Skip to content

Commit

Permalink
[#568] Fix to allow translations to be extracted
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 6, 2013
1 parent cf471c1 commit 04f1684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/lib/jinja_extensions.py
Expand Up @@ -93,6 +93,8 @@ def parse(self, parser):
template_path = parser.filename
# find where in the search path this template is from
index = 0
if not hasattr(self, 'searchpath'):
return node
for searchpath in self.searchpath:
if template_path.startswith(searchpath):
break
Expand Down

0 comments on commit 04f1684

Please sign in to comment.