Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b272ac1

Browse files
committedOct 9, 2016
Fixed bug due to two plugins being called scan_posts.
1 parent a9932bf commit b272ac1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
 

‎nikola/plugins/task/authors.py

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def gen_tasks(self):
8787
"index_file": self.site.config['INDEX_FILE'],
8888
}
8989

90-
self.site.scan_posts()
9190
yield self.group_task()
9291

9392
if self.generate_author_pages:

‎nikola/plugins/task/scan_posts.plugin

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Core]
2-
Name = scan_posts
2+
Name = trigger_scan_posts
33
Module = scan_posts
44

55
[Documentation]

‎nikola/plugins/task/scan_posts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
class ScanPosts(BaseTask):
3535
"""Just scans for posts."""
3636

37-
name = "scan_posts"
37+
name = "trigger_scan_posts"
3838

3939
stage = 0
4040

0 commit comments

Comments
 (0)
Please sign in to comment.