Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
2 deletions.
-
+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)) |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.