Only try once

main
Bob Mottram 2021-09-03 13:50:12 +01:00
parent 0b63b0fadc
commit 192018cde6
1 changed files with 2 additions and 2 deletions

View File

@ -7145,7 +7145,7 @@ class PubServer(BaseHTTPRequestHandler):
if debug: if debug:
print('Regenerating html post for changed likes collection') print('Regenerating html post for changed likes collection')
pageNumber = 1 pageNumber = 1
likedPostJson = loadJson(likedPostFilename) likedPostJson = loadJson(likedPostFilename, 0, 1)
showIndividualPostIcons = True showIndividualPostIcons = True
manuallyApproveFollowers = \ manuallyApproveFollowers = \
followerApprovalActive(baseDir, self.postToNickname, domain) followerApprovalActive(baseDir, self.postToNickname, domain)
@ -7279,7 +7279,7 @@ class PubServer(BaseHTTPRequestHandler):
if debug: if debug:
print('Regenerating html post for changed likes collection') print('Regenerating html post for changed likes collection')
pageNumber = 1 pageNumber = 1
likedPostJson = loadJson(likedPostFilename) likedPostJson = loadJson(likedPostFilename, 0, 1)
showIndividualPostIcons = True showIndividualPostIcons = True
manuallyApproveFollowers = \ manuallyApproveFollowers = \
followerApprovalActive(baseDir, self.postToNickname, domain) followerApprovalActive(baseDir, self.postToNickname, domain)