From 5a4a2a4ab234e29661957be017a1a5d221bdb104 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Sep 2021 14:01:35 +0100 Subject: [PATCH] Tidying --- daemon.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index b1740fba5..690ad3563 100644 --- a/daemon.py +++ b/daemon.py @@ -7146,6 +7146,7 @@ class PubServer(BaseHTTPRequestHandler): print('Regenerating html post for changed likes collection') likedPostJson = loadJson(likedPostFilename, 0, 1) if likedPostJson: + boxName = 'inbox' pageNumber = 1 showIndividualPostIcons = True manuallyApproveFollowers = \ @@ -7163,7 +7164,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.port, likedPostJson, None, True, self.server.allowDeletion, - httpPrefix, __version__, 'inbox', + httpPrefix, __version__, boxName, self.server.YTReplacementDomain, self.server.showPublishedDateOnly, self.server.peertubeInstances, @@ -7281,9 +7282,10 @@ class PubServer(BaseHTTPRequestHandler): del self.server.iconsCache['like_inactive.png'] if debug: print('Regenerating html post for changed likes collection') - pageNumber = 1 likedPostJson = loadJson(likedPostFilename, 0, 1) if likedPostJson: + boxName = 'inbox' + pageNumber = 1 showIndividualPostIcons = True manuallyApproveFollowers = \ followerApprovalActive(baseDir, @@ -7300,7 +7302,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.port, likedPostJson, None, True, self.server.allowDeletion, - httpPrefix, __version__, 'inbox', + httpPrefix, __version__, boxName, self.server.YTReplacementDomain, self.server.showPublishedDateOnly, self.server.peertubeInstances,