Sort fics properly on stats pages … I think?

master
trémeur 1 year ago
parent 663cac35b9
commit 4b9257b245

@ -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…
Cancel
Save