Forgot last year in archive generation
This commit is contained in:
parent
62ed52d797
commit
d1b86ba7cd
|
@ -49,7 +49,7 @@ class Archive(Index):
|
|||
end_year = last_post.creation_date.year
|
||||
|
||||
now = datetime.now()
|
||||
for i in range(start_year, end_year):
|
||||
for i in range(start_year, end_year+1):
|
||||
if i == now.year: continue
|
||||
|
||||
self.cur_year = i
|
||||
|
|
Loading…
Reference in New Issue
Block a user