From 2acac9ccae879cac690388a798aa3956d9fb73fe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 Nov 2019 12:11:54 +0000 Subject: [PATCH] Page number variable created earlier --- webinterface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index abc5cefc..185f9924 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2097,6 +2097,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if ':' not in domain: fullDomain=domain+':'+str(port) + pageNumberParam='' + if pageNumber: + pageNumberParam='?page='+str(pageNumber) + announceStr='' if not isModerationPost and showRepeatIcon: # don't allow announce/repeat of your own posts @@ -2369,10 +2373,6 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ publishedStr=datetimeObject.strftime("%a %b %d, %H:%M") footerStr=''+publishedStr+'\n' - pageNumberParam='' - if pageNumber: - pageNumberParam='?page='+str(pageNumber) - # change the background color for DMs in inbox timeline if showDMicon: containerClassIcons='containericons dm'