Skip to content

Commit ead0f05

Browse files
committedJan 18, 2015
fix #1360
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 0064895 commit ead0f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/plugins/task/archive.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def gen_tasks(self):
133133
for year, posts in archdata.items():
134134
# Filter untranslated posts (Issue #1360)
135135
if not kw["show_untranslated_posts"]:
136-
archdata[year] = [p for p in posts if lang in p.translated_to]
136+
posts = [p for p in posts if lang in p.translated_to]
137137

138138
# Add archive per year or total archive
139139
if year:

0 commit comments

Comments
 (0)
Please sign in to comment.