We pass lists, not dicst!

This commit is contained in:
Alexis Métaireau 2012-10-30 18:57:06 +01:00
commit bfc963a065
2 changed files with 6 additions and 7 deletions

View file

@ -42,7 +42,6 @@ class Generator(object):
os.path.join(self.theme, 'templates')))
self._templates_path += self.settings.get('EXTRA_TEMPLATES_PATHS', [])
theme_path = os.path.dirname(os.path.abspath(__file__))
simple_loader = FileSystemLoader(os.path.join(theme_path,
@ -283,7 +282,6 @@ class ArticlesGenerator(Generator):
self.generate_articles(write)
self.generate_direct_templates(write)
# and subfolders after that
self.generate_tags(write)
self.generate_categories(write)