mirror of https://gitlab.com/bashrc2/epicyon
Check that json was returned
parent
192018cde6
commit
e036cc15de
14
daemon.py
14
daemon.py
|
@ -7146,9 +7146,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
print('Regenerating html post for changed likes collection')
|
||||
pageNumber = 1
|
||||
likedPostJson = loadJson(likedPostFilename, 0, 1)
|
||||
if likedPostJson:
|
||||
showIndividualPostIcons = True
|
||||
manuallyApproveFollowers = \
|
||||
followerApprovalActive(baseDir, self.postToNickname, domain)
|
||||
followerApprovalActive(baseDir,
|
||||
self.postToNickname, domain)
|
||||
individualPostAsHtml(self.server.signingPrivateKeyPem, True,
|
||||
self.server.recentPostsCache,
|
||||
self.server.maxRecentPosts,
|
||||
|
@ -7158,7 +7160,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.cachedWebfingers,
|
||||
self.server.personCache,
|
||||
self.postToNickname, domain,
|
||||
self.server.port, likedPostJson, None, True,
|
||||
self.server.port, likedPostJson,
|
||||
None, True,
|
||||
self.server.allowDeletion,
|
||||
httpPrefix, __version__, 'inbox',
|
||||
self.server.YTReplacementDomain,
|
||||
|
@ -7280,9 +7283,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
print('Regenerating html post for changed likes collection')
|
||||
pageNumber = 1
|
||||
likedPostJson = loadJson(likedPostFilename, 0, 1)
|
||||
if likedPostJson:
|
||||
showIndividualPostIcons = True
|
||||
manuallyApproveFollowers = \
|
||||
followerApprovalActive(baseDir, self.postToNickname, domain)
|
||||
followerApprovalActive(baseDir,
|
||||
self.postToNickname, domain)
|
||||
individualPostAsHtml(self.server.signingPrivateKeyPem, True,
|
||||
self.server.recentPostsCache,
|
||||
self.server.maxRecentPosts,
|
||||
|
@ -7292,7 +7297,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.cachedWebfingers,
|
||||
self.server.personCache,
|
||||
self.postToNickname, domain,
|
||||
self.server.port, likedPostJson, None, True,
|
||||
self.server.port, likedPostJson,
|
||||
None, True,
|
||||
self.server.allowDeletion,
|
||||
httpPrefix, __version__, 'inbox',
|
||||
self.server.YTReplacementDomain,
|
||||
|
|
Loading…
Reference in New Issue