Skip to content

Commit

Permalink
Fixing post scanner plugin order (fixes #2542).
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 14, 2017
1 parent 45558aa commit 36948f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -2098,7 +2098,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
self.timeline = []
self.pages = []

for p in self.plugin_manager.getPluginsOfCategory('PostScanner'):
for p in sorted(self.plugin_manager.getPluginsOfCategory('PostScanner'), key=lambda p: p.name):
timeline = p.plugin_object.scan()
# FIXME: can there be conflicts here?
self.timeline.extend(timeline)
Expand Down

0 comments on commit 36948f0

Please sign in to comment.