Sort years in reverse order for main index.html
This commit is contained in:
parent
4d4fcf4075
commit
ba5bd75ac1
2
iwla.py
2
iwla.py
|
@ -437,7 +437,7 @@ class IWLA(object):
|
|||
last_update = '<b>Last update</b> %s<br />' % (time.strftime('%02d %b %Y %H:%M', time.localtime()))
|
||||
page.appendBlock(self.display.createBlock(DisplayHTMLRaw, last_update))
|
||||
|
||||
for year in self.meta_infos['stats'].keys():
|
||||
for year in sorted(self.meta_infos['stats'].keys(), reverse=True):
|
||||
self._generateDisplayMonthStats(page, year, self.meta_infos['stats'][year])
|
||||
|
||||
self.display.addPage(page)
|
||||
|
|
Loading…
Reference in New Issue
Block a user