Skip to content

Commit

Permalink
Fixes #3073.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed May 4, 2018
1 parent dbf59f8 commit 6f9248f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/misc/scan_posts.py
Expand Up @@ -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,
Expand All @@ -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))
Expand Down

0 comments on commit 6f9248f

Please sign in to comment.