From 192018cde6cdbc7d36c5bc02cdb553f72b0e9bb0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Sep 2021 13:50:12 +0100 Subject: [PATCH] Only try once --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 12c950059..e8c75c3e1 100644 --- a/daemon.py +++ b/daemon.py @@ -7145,7 +7145,7 @@ class PubServer(BaseHTTPRequestHandler): if debug: print('Regenerating html post for changed likes collection') pageNumber = 1 - likedPostJson = loadJson(likedPostFilename) + likedPostJson = loadJson(likedPostFilename, 0, 1) showIndividualPostIcons = True manuallyApproveFollowers = \ followerApprovalActive(baseDir, self.postToNickname, domain) @@ -7279,7 +7279,7 @@ class PubServer(BaseHTTPRequestHandler): if debug: print('Regenerating html post for changed likes collection') pageNumber = 1 - likedPostJson = loadJson(likedPostFilename) + likedPostJson = loadJson(likedPostFilename, 0, 1) showIndividualPostIcons = True manuallyApproveFollowers = \ followerApprovalActive(baseDir, self.postToNickname, domain)