Skip to content

Commit 36948f0

Browse files
committedApr 14, 2017
Fixing post scanner plugin order (fixes #2542).
1 parent 45558aa commit 36948f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/nikola.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
20982098
self.timeline = []
20992099
self.pages = []
21002100

2101-
for p in self.plugin_manager.getPluginsOfCategory('PostScanner'):
2101+
for p in sorted(self.plugin_manager.getPluginsOfCategory('PostScanner'), key=lambda p: p.name):
21022102
timeline = p.plugin_object.scan()
21032103
# FIXME: can there be conflicts here?
21042104
self.timeline.extend(timeline)

0 commit comments

Comments
 (0)
Please sign in to comment.