From 6031502acecf105bada98fa7af147f3315369387 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Oct 2019 09:56:29 +0100 Subject: [PATCH] Another page number replacement --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index b1e628cbf..473f7974e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1780,7 +1780,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \ postJsonObject) if postHtml: - return postHtml.replace(';-999;',';'+str(pageNumber)+';') + return postHtml.replace(';-999;',';'+str(pageNumber)+';').replace('?page=-999','?page='+str(pageNumber)) # If this is the inbox timeline then don't show the repeat icon on any DMs showRepeatIcon=showRepeats