Another page number replacement

main2
Bob Mottram 2019-10-20 09:56:29 +01:00
parent 701828ab29
commit 6031502ace
1 changed files with 1 additions and 1 deletions

View File

@ -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