Sort fics properly on stats pages … I think?
This commit is contained in:
parent
663cac35b9
commit
4b9257b245
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ def yeargen(local=False):
|
|||
if ficlogged == False:
|
||||
combinedeets.append(fic)
|
||||
ficdeets = combinedeets
|
||||
ficdeets = sorted(ficdeets,key=lambda d: d["date"])
|
||||
totalwords = 0
|
||||
for fic in ficdeets:
|
||||
totalwords += fic["words"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue