From 1711faaec952b5ef482d7a7b5ec2b9744b3a6ec0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Sep 2021 13:55:34 +0100 Subject: [PATCH] Don't allow downloads --- daemon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index ec6488c29..b1740fba5 100644 --- a/daemon.py +++ b/daemon.py @@ -7144,14 +7144,14 @@ class PubServer(BaseHTTPRequestHandler): debug) if debug: print('Regenerating html post for changed likes collection') - pageNumber = 1 likedPostJson = loadJson(likedPostFilename, 0, 1) if likedPostJson: + pageNumber = 1 showIndividualPostIcons = True manuallyApproveFollowers = \ followerApprovalActive(baseDir, self.postToNickname, domain) - individualPostAsHtml(self.server.signingPrivateKeyPem, True, + individualPostAsHtml(self.server.signingPrivateKeyPem, False, self.server.recentPostsCache, self.server.maxRecentPosts, self.server.translate, @@ -7288,7 +7288,7 @@ class PubServer(BaseHTTPRequestHandler): manuallyApproveFollowers = \ followerApprovalActive(baseDir, self.postToNickname, domain) - individualPostAsHtml(self.server.signingPrivateKeyPem, True, + individualPostAsHtml(self.server.signingPrivateKeyPem, False, self.server.recentPostsCache, self.server.maxRecentPosts, self.server.translate,