From 36071d5c1ff81af33439a84d09d8db49cb0fe341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Tue, 27 Jun 2023 18:42:15 +0100 Subject: [PATCH] Correct stats page links for translations --- statsgen.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/statsgen.py b/statsgen.py index d6a3906..372a39f 100644 --- a/statsgen.py +++ b/statsgen.py @@ -168,7 +168,12 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False): ficstring += "/home/mdd/Documents/drive/proj/fic-archive/build/masterlist/index.html" else: ficstring += "/fic/masterlist" - ficstring += "#fic" + ficcountstring + "\">" + ficstring += "#fic" + try: + ficstring += str(fileread.original) + except: + ficstring += ficcountstring + ficstring +="\">" if showfandom: ficstring += fandom if thechars or language: