Skip to content

Commit

Permalink
Fixed bug due to two plugins being called scan_posts.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 9, 2016
1 parent a9932bf commit b272ac1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion nikola/plugins/task/authors.py
Expand Up @@ -87,7 +87,6 @@ def gen_tasks(self):
"index_file": self.site.config['INDEX_FILE'],
}

self.site.scan_posts()
yield self.group_task()

if self.generate_author_pages:
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/scan_posts.plugin
@@ -1,5 +1,5 @@
[Core]
Name = scan_posts
Name = trigger_scan_posts
Module = scan_posts

[Documentation]
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/scan_posts.py
Expand Up @@ -34,7 +34,7 @@
class ScanPosts(BaseTask):
"""Just scans for posts."""

name = "scan_posts"
name = "trigger_scan_posts"

stage = 0

Expand Down

0 comments on commit b272ac1

Please sign in to comment.