Skip to content

Commit

Permalink
make templates from everywhere accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
posativ committed Apr 23, 2012
1 parent 5ac1b5f commit 785fc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klaus/__init__.py
Expand Up @@ -42,7 +42,7 @@ class Klaus(object):
def __init__(self, repos):

self.repos = repos
self.jinja_env = Environment(loader=FileSystemLoader('klaus/templates/'),
self.jinja_env = Environment(loader=FileSystemLoader(TEMPLATE_DIR),
extensions=['jinja2.ext.autoescape'],
autoescape=True)
self.jinja_env.globals['KLAUS_VERSION'] = KLAUS_VERSION
Expand Down

0 comments on commit 785fc93

Please sign in to comment.