Merge pull request #234 from saghul/issue-233

Fix for issue #233
This commit is contained in:
Alexis Metaireau 2012-03-10 03:20:54 -08:00
commit 0cf820f07b

View file

@ -36,8 +36,8 @@ class Generator(object):
theme_path = os.path.join(os.path.dirname(os.path.abspath(__file__)))
simple_loader = FileSystemLoader(theme_path,
"themes", "simple", "templates")
simple_loader = FileSystemLoader(os.path.join(theme_path,
"themes", "simple", "templates"))
self._env = Environment(
loader=ChoiceLoader([
FileSystemLoader(self._templates_path),