d'oh
This commit is contained in:
parent
92f857d967
commit
afd839a195
@ -31,7 +31,7 @@ class RAConf(object):
|
|||||||
def ext_init(self):
|
def ext_init(self):
|
||||||
self.tpl_dir = os.path.abspath(os.path.expanduser(self.tpl_dir))
|
self.tpl_dir = os.path.abspath(os.path.expanduser(self.tpl_dir))
|
||||||
self.loader = jinja2.FileSystemLoader(self.tpl_dir)
|
self.loader = jinja2.FileSystemLoader(self.tpl_dir)
|
||||||
self.tpl_env = jinja2.Environment(loader = self.loader)
|
self.tpl_env = jinja2.Environment(loader = self.loader, extensions = ['jinja2.ext.do'])
|
||||||
self.tpl = self.tpl_env.get_template(self.tpl_name)
|
self.tpl = self.tpl_env.get_template(self.tpl_name)
|
||||||
return(None)
|
return(None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user