Permalink
Browse files

Fixing post scanner plugin order (fixes #2542).

  • Loading branch information...
felixfontein committed Apr 14, 2017
1 parent 45558aa commit 36948f0a0a421cea52e49da0700a4d43ff6cf3e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
View
@@ -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)

0 comments on commit 36948f0

Please sign in to comment.