Skip to content
Permalink
Browse files

Fixes #3073.

  • Loading branch information
felixfontein committed May 4, 2018
1 parent dbf59f8 commit 6f9248f81704756bec2d1083b2b27354da736d6a
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/misc/scan_posts.py
@@ -86,8 +86,6 @@ def scan(self):
for base_path in full_list:
if base_path in seen:
continue
else:
seen.add(base_path)
try:
post = Post(
base_path,
@@ -100,6 +98,8 @@ def scan(self):
destination_base=destination_translatable,
metadata_extractors_by=self.site.metadata_extractors_by
)
for lang in post.translated_to:
seen.add(post.translated_source_path(lang))
timeline.append(post)
except Exception:
LOGGER.error('Error reading post {}'.format(base_path))

0 comments on commit 6f9248f

Please sign in to comment.