From 4b9257b245bcc7f16ed5e95b2ccdc4b7dde313c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Sun, 3 Dec 2023 11:45:06 +0000 Subject: [PATCH] =?UTF-8?q?Sort=20fics=20properly=20on=20stats=20pages=20?= =?UTF-8?q?=E2=80=A6=20I=20think=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- statsgen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/statsgen.py b/statsgen.py index c2ba6f6..da43f18 100644 --- a/statsgen.py +++ b/statsgen.py @@ -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"]