Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
One more try.
  • Loading branch information
felixfontein committed Nov 30, 2016
1 parent 81b8caa commit ffa8036
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nikola/plugins/task/taxonomies.py
Expand Up @@ -326,7 +326,10 @@ def gen_tasks(self):
self.site.scan_posts()
yield self.group_task()

for taxonomy in self.site.taxonomy_plugins.values():
# for taxonomy in self.site.taxonomy_plugins.values():
for taxonomy in [p.plugin_object for p in site.plugin_manager.getPluginsOfCategory('Taxonomy')]:
if not taxonomy.is_enabled():
continue
for lang in self.site.config["TRANSLATIONS"]:
if not taxonomy.is_enabled(lang):
continue
Expand Down

0 comments on commit ffa8036

Please sign in to comment.